python中图片显示中文的方法和原理

import matplotlib as plt
plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签
plt.rcParams['axes.unicode_minus']=False #用来正常显示负号

 默默地学习,笨笨地成长!更多精彩内容欢迎大家关注微信公众号小果果学长,和你一起成长和学习哦!

猜你喜欢

转载自blog.csdn.net/weixin_43442778/article/details/104856754