#解决 matplotlib中中文显示问题,在前面加上以下两行代码 plt.rcParams[‘font.sans-serif’]= [‘SimHei’] plt.rcParams[‘axes.unicode_minus’] = False