https://my.oschina.net/u/1180306/blog/279818加入可显示中文的字体
import matplotlib
matplotlib.rcParams['font.sans-serif'] = ['SimHei']
plt.xlabel(u"你好")
相关字体有:
SimHei,(好像只有这个可以正常显示)
Bitstream Vera Sans,
Lucida Grande,
Verdana,
Geneva,
Lucid,
Arial,
Helvetica,
Avant Garde,
sans-serif