问题:上下标字体在设置了字体为Times New Roman的情况下依然不是Times New Roman
解决: 加上\mathregular
import matplotlib.mathtext as mathtext
ax1.set_ylabel('N uptake rate (kg N ha$^{\mathregular{-1}}$yr$^{\mathregular{-1}}$)',fontproperties = 'Times New Roman',size =11)
问题:上下标字体在设置了字体为Times New Roman的情况下依然不是Times New Roman
解决: 加上\mathregular
import matplotlib.mathtext as mathtext
ax1.set_ylabel('N uptake rate (kg N ha$^{\mathregular{-1}}$yr$^{\mathregular{-1}}$)',fontproperties = 'Times New Roman',size =11)