matplotlib latex non italic indices code example Example: matplotlib latex non italic indices plt.xlabel(r'Primary T$_{\rm eff}$')