python - How to label axes in Matplotlib using LaTeX brackets? -


how label axes in matplotlib using latex expression $\langle b_{\mathrm{e}} \rangle$? need label axis nice looking "<" , ">" latex brackets.

try ax.set_ylabel(r'$\langle b_{\mathrm{e}} \rangle$') labeling y-axis or ax.set_title(r'$\langle b_{\mathrm{e}} \rangle$') title of axes.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -