Matplotlib绘图显示缺少中文字体-RuntimeWarning: Glyph 8722 missing from current font.

在Linux环境下,当使用matplotlib的pyplot模块时,由于默认不支持中文,需要手动下载SimHei等中文字体并配置。首先将字体文件放入matplotlib的字体目录,然后清除字体缓存。接着在代码中设置`font.family`为SimHei,调整字体大小并关闭Unicode负号显示。通过这种方式,可以在matplotlib图表中正确显示中文。
部署运行你感兴趣的模型镜像

pyplot 并不默认支持中文显示,也没有自带中文字体,因此需要自行下载所需字体,并修改 rcParams 参数来显示中文。下面以 SimHei (黑体)字体为例进行说明。

说明:系统环境为 Linux

安装字体

1.下载 SimHei.ttf 字体文件
2.查看 matplotlib 的字体路径

import matplotlib    
print(matplotlib.matplotlib_fname())

得到的路径(如~/.local/lib/python3.6/site-packages/matplotlib/mpl-data/matplotlibrc)是 matplotlib 参数预加载文件matplotlibrc的路径,则字体的存放路径为~/.local/lib/python3.6/site-packages/matplotlib/mpl-data/fonts/ttf
将下载好的字体文件复制到该目录下

3.删除 matplotlib 的缓冲目录
查看 matplotlib 的字体缓存路径:

import matplotlib
print(matplotlib.get_cachedir())

得到的路径如~/.cache/matplotlib,在终端使用rm -rf ~/.cache/matplotlib命令删除缓存目录。
这样做之后,在使用 matplotlib 绘图时,会自动生成新的缓存目录。

设置参数

使用 matplotlib 绘图时,添加以下几行代码:

import matplotlib.pyplot as plt
import matplotlib

matplotlib.rcParams['font.family'] = 'SimHei'
matplotlib.rcParams['font.size'] = 10
matplotlib.rcParams['axes.unicode_minus']=False

''' 使用下面语句也可以
plt.rcParams['font.family'] = 'SimHei'
plt.rcParams['font.size'] = 10
plt.rcParams['axes.unicode_minus']=False
'''

这样就可以在绘图时使用该中文字体了。

也可以在前面提到的 matplotlibrc 文件中修改这些参数。这里选择在代码中修改。

几种常用的中文字体:

中文字体说明
SimHei中文黑体
Kaiti中文楷体
LiSu中文隶书
FangSong中文仿宋
YouYuan中文幼圆
STSong华文宋体

参考:
错误RuntimeWarning: Glyph xxxxx missing from current font的产生原因分析,无法解析当前字体

您可能感兴趣的与本文相关的镜像

Python3.10

Python3.10

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

图片汉字不显示并且===== 数据可视化 ===== D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26680 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24515 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 35780 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20998 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 32500 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24230 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24067 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21475 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21619 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 29615 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 22659 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26381 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21153 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21475 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21619 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 29615 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 22659 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26381 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21153 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20540 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 35780 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20998 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20540 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26680 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24515 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 32500 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24230 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24067 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24066 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 22330 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 28909 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25104 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26412 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25928 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 30410 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20154 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 22343 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 28040 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 36153 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20803 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20154 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 22343 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 28040 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 36153 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20803 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 28857 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25968 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 37327 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 28857 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25968 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 37327 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24066 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 22330 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 28909 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25104 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26412 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25928 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 30410 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 39184 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 39278 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25454 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26512 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21487 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 35270 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21270 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 39184 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 39278 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25454 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26512 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21487 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 35270 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21270 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21475 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21619 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 29615 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 22659 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26381 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21153 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 35780 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20998 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20540 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26680 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24515 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 32500 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24230 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24067 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20154 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 22343 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 28040 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 36153 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20803 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 28857 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25968 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 37327 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24066 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 22330 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 28909 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25104 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26412 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25928 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 30410 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 29305 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24449 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 30456 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 20851 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24615 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 26512 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 24215 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 38138 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 39184 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 39278 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 25454 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21487 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 35270 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:238: RuntimeWarning: Glyph 21270 missing from current font. font.set_text(s, 0.0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21475 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21619 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 29615 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 22659 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26381 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21153 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 35780 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20998 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20540 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26680 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24515 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 32500 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24230 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24067 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20154 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 22343 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 28040 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 36153 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20803 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 28857 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25968 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 37327 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24066 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 22330 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 28909 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25104 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26412 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25928 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 30410 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 29305 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24449 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 30456 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 20851 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24615 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 26512 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 24215 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 38138 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 39184 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 39278 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 25454 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21487 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 35270 missing from current font. font.set_text(s, 0, flags=flags) D:\zhhhhhhh\anaconda\lib\site-packages\matplotlib\backends\backend_agg.py:201: RuntimeWarning: Glyph 21270 missing from current font. font.set_text(s, 0, flags=flags)
06-16
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值