我是靠谱客的博主 会撒娇蓝天,最近开发中收集的这篇文章主要介绍python使用pandas报错Glyph * missing from current font,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

报错显示

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所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部