图例位置
matplotlib.pyplot.legend(loc='String' or Number, bbox_to_anchor=(num1, num2))
显示中文
plt.rcParams[‘font.family’]=[‘SimHei’]#显示中文
plt.rcParams[‘axes.unicode_minus’] = False
图例位置
matplotlib.pyplot.legend(loc='String' or Number, bbox_to_anchor=(num1, num2))
显示中文
plt.rcParams[‘font.family’]=[‘SimHei’]#显示中文
plt.rcParams[‘axes.unicode_minus’] = False