使用matplotlib画图时坐标轴名字中文无法显示

我当时使用了下边这句代码成功解决。 

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

你可能感兴趣的:(python)