解决matplotilb里中文和负号显示问题 # 解决中文问题 plt.rcParams['font.sans-serif'] = ['SimHei'] # 解决负号显示问题 plt.rcParams['axes.unicode_minus'] = False