diff --git a/lectures/util_rand_resp.md b/lectures/util_rand_resp.md index 85336a3f..2a3d09a2 100644 --- a/lectures/util_rand_resp.md +++ b/lectures/util_rand_resp.md @@ -50,6 +50,11 @@ Lars Ljungqvist {cite}`ljungqvist1993unified` 分析了受访者是否如实回 ```{code-cell} ipython3 import matplotlib.pyplot as plt +import matplotlib as mpl +FONTPATH = "fonts/SourceHanSerifSC-SemiBold.otf" +mpl.font_manager.fontManager.addfont(FONTPATH) +plt.rcParams['font.family'] = ['Source Han Serif SC', 'DejaVu Sans'] + import numpy as np ```