Inserting a degree symbol into python plot

Use LaTeX Style. For Example: $^\circ$ Text would produce °Text

See the matplotlib documentation for more information about printing (especially mathematical expression).

In your case the code has to be: plt.xlabel('Manufactured Ply Angle $^\circ$')

The TeX part of the expression must be enclosed by dollar signs “$”.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)