plt画图找不到字体时 plt.rcParams[‘font.sans-serif’]=[‘SimHei’] #显示中文标签 plt.rcParams[‘axes.unicode_minus’]=False