0
点赞
收藏
分享

微信扫一扫

python学习笔记——matplotlib和seaborn

飞进科技 2022-04-14 阅读 51
python

一、matplotlib

错误:RuntimeWarning: Glyph xxxxx missing from current font. font.set_text(s, 0.0, flags=flags)

这是因为python字体警告,不能显示中文
解决方法:matplotlib.rcParams[‘font.sans-serif’] = [‘KaiTi’]
https://blog.csdn.net/weixin_41936775/article/details/117166237

plt.figure,plt.subplot,plt.subplots

https://www.csdn.net/tags/OtDaIg3sNDU3MjUtYmxvZwO0O0OO0O0O.html

举报

相关推荐

0 条评论