Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29285f9 commit 66bd9bcCopy full SHA for 66bd9bc
1 file changed
lib/matplotlib/projections/polar.py
@@ -136,7 +136,7 @@ class ThetaFormatter(Formatter):
136
"""
137
def __call__(self, x, pos=None):
138
# \u00b0 : degree symbol
139
- if rcParams['text.usetex']:
+ if rcParams['text.usetex'] and not rcParams['text.latex.unicode']:
140
return r"$%d^\circ$" % ((x / npy.pi) * 180.0)
141
else:
142
return u"%d\u00b0" % ((x / npy.pi) * 180.0)
0 commit comments