Skip to content

Commit 923cfcc

Browse files
authored
Update prob_meaning.md
1 parent c28034a commit 923cfcc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lectures/prob_meaning.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ import prettytable as pt
5454
import matplotlib.pyplot as plt
5555
from scipy.stats import binom
5656
import scipy.stats as st
57+
import matplotlib as mpl
58+
FONTPATH = "fonts/SourceHanSerifSC-SemiBold.otf"
59+
mpl.font_manager.fontManager.addfont(FONTPATH)
60+
plt.rcParams['font.family'] = ['Source Han Serif SC']
5761
```
5862

5963
有了这些Python工具,我们现在来探索上述两种含义。

0 commit comments

Comments
 (0)