font1 = {‘family’:‘SimHei’, ‘weight’:‘normal’} plt.legend([“次数”], loc=‘upper right’,prop=font1) 再运行中文可显示。