chzzz's Blog

The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.--Stephen William Hawking

一句代码解决python使用matplotlib画图中文乱码问题

plt.rcParams['font.sans-serif']=['SimHei']只需要将上面这句代码添加到你的代码文件里即可...
继续阅读
© 版权所有:沈阳市和平区赛博空间咨询部|辽ICP备18005891号
Powered by Z-BlogPHP & Yiwuku.com