python解决matplotlib中文坐标值乱码的问题

加上这句话即可

plt.rcParams['font.sans-serif']=['SimHei'] 

效果:

posted @ 2018-12-30 16:23  xiuwenL  阅读(688)  评论(0编辑  收藏  举报