Plt 图例legend设置字体大小

用legend(fontsize=)方法是无效的,需要添加plt的属性参数

plt.rcParams.update({'font.size':18})

你可能感兴趣的:(Python)