【python】绘图坐标轴标题中包含上标或下标

plt.ylabel("流量($\mathregular{m^3}$/s)")         
#绘图坐标轴添加上标$\mathregular{m^3}$,若是下标m_3
不加mathregular的话是斜体
 

 

 

 

 

posted @ 2021-08-03 22:07  人间寒梅  Views(2983)  Comments(0Edit  收藏  举报