正确显示中文标签和正负号

import matplotlib.pyplot as plt#导入图像库
plt.rcParams['font.sans-serif'] = ['SimHei']#用来正常显示中文标签
plt.rcParams['axes.unicode_minus'] = False#用来显示正负号

 

posted @ 2018-09-18 18:59  秋雨秋雨秋雨  阅读(396)  评论(0编辑  收藏  举报