手动添加:
1 from pylab import * 2 mpl.rcParams['font.sans-serif'] = ['SimHei'] #指定默认字体 3 mpl.rcParams['axes.unicode_minus'] = False #解决保存图像是负号'-'显示为方块的问题
http://blog.csdn.net/fortware/article/details/51934509
手动添加:
1 from pylab import * 2 mpl.rcParams['font.sans-serif'] = ['SimHei'] #指定默认字体 3 mpl.rcParams['axes.unicode_minus'] = False #解决保存图像是负号'-'显示为方块的问题
http://blog.csdn.net/fortware/article/details/51934509