jupyter notebook 显示中文的问题

3.matplotlib显示中文问题

plt.rcParams['font.sans-serif'] = ['SimHei']  # 指定默认字体
plt.rcParams['axes.unicode_minus'] = False  # 解决保存图像是负号'-'显示为方块的问题

posted on 2018-03-06 10:58  flyingwaters  阅读(1136)  评论(0编辑  收藏  举报

导航