#coding:utf-8
import matplotlib.pyplot as plt
#mpl.rcParams['font.sans-serif'] = ['Microsoft YaHei']
plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签
plt.rcParams['axes.unicode_minus']=False #用来正常显示负号
#有中文出现的情况,需要u'内容'
#coding:utf-8
import matplotlib.pyplot as plt
#mpl.rcParams['font.sans-serif'] = ['Microsoft YaHei']
plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签
plt.rcParams['axes.unicode_minus']=False #用来正常显示负号
#有中文出现的情况,需要u'内容'