解决python中matplotlib库无法写中文问题_微软雅黑ttf.rar

时间:2023-05-10 15:25:06
【文件属性】:
文件名称:解决python中matplotlib库无法写中文问题_微软雅黑ttf.rar
文件大小:7.66MB
文件格式:RAR
更新时间:2023-05-10 15:25:06
python matplotlib 1、找到pythonX\lib\site-packages\matplotlib\mpl-data\fonts\ttf文件夹 2、matplotlib默认调用的为DejaVuSans.ttf字体文件,下载微软雅黑.ttf 3、将微软雅黑文件名改为DejaVuSans.ttf粘贴到ttf文件夹下即可。
【文件预览】:
yahei
----weiruanyahei.ttf(14.35MB)
----readme.txt(314B)

网友评论