refer to:
https://segmentfault.com/a/1190000005144275
#coding:utf-8 import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unicode_minus']=False #用来正常显示负号
refer to:
https://segmentfault.com/a/1190000005144275
#coding:utf-8 import matplotlib.pyplot as plt plt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签 plt.rcParams['axes.unicode_minus']=False #用来正常显示负号
转载于:https://www.cnblogs.com/qingyuanjushi/p/7124292.html