You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i 's/#font.family/font.family/g'"${MPL_DATA}/matplotlibrc" && \
564
+
sed -i 's/#font.sans-serif:/font.sans-serif: Source Han Sans CN,/g'"${MPL_DATA}/matplotlibrc" && \
565
+
sed -i 's/#axes.unicode_minus: True/axes.unicode_minus: False/g'"${MPL_DATA}/matplotlibrc" && \
566
+
rm -rf "/home/${NB_USER}/.cache/matplotlib" && \
567
+
python -c 'import matplotlib.font_manager;print("font loaded: ",("Source Han Sans CN" in [f.name for f in matplotlib.font_manager.fontManager.ttflist]))'
0 commit comments