matplotlib提示RuntimeWarning: Glyph 20998 missing from current font
时间:2020-01-29 00:54:23
收藏:0
阅读:4121
使用matplotlib画图报错,情况如下
RuntimeWarning: Glyph 20998 missing from current font

查询后初步发现是matplotlib找不到字体,需要自行设置一下:
plt.rcParams['font.sans-serif']=['SimHei']原文:https://www.cnblogs.com/zmichael/p/12239421.html
评论(0)