Matplotlib图例中文乱码

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

猜你喜欢

转载自www.cnblogs.com/zheng123/p/9342648.html