概述
报错显示
D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:240: RuntimeWarning: Glyph 23567 missing from current font. font.set_text(s, 0.0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:240: RuntimeWarning: Glyph 36153 missing from current font. font.set_text(s, 0.0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:240: RuntimeWarning: Glyph 24635 missing from current font. font.set_text(s, 0.0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:240: RuntimeWarning: Glyph 20215 missing from current font. font.set_text(s, 0.0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:203: RuntimeWarning: Glyph 23567 missing from current font. font.set_text(s, 0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:203: RuntimeWarning: Glyph 36153 missing from current font. font.set_text(s, 0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:203: RuntimeWarning: Glyph 24635 missing from current font. font.set_text(s, 0, flags=flags) D:anacondalibsite-packagesmatplotlibbackendsbackend_agg.py:203: RuntimeWarning: Glyph 20215 missing from current font. font.set_text(s, 0, flags=flags)
方法:
添加
import seaborn as sns
sns.set_style("darkgrid",{"font.sans-serif":['KaiTi', 'Arial']})
最后
以上就是会撒娇蓝天为你收集整理的python使用pandas报错Glyph * missing from current font的全部内容,希望文章能够帮你解决python使用pandas报错Glyph * missing from current font所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复