在用python语言的 matplotlib库中plot()方法绘图的时候,发现图形的中文无法显示出来; 解决方案是: plt.rcParams[‘font.sans-serif’] = [‘SimHei’]