8000 Remove unicode from docstrings, since it doesn't play well with __bui… · matplotlib/matplotlib@d7a06da · GitHub
[go: up one dir, main page]

Skip to content

Commit d7a06da

Browse files
committed
Remove unicode from docstrings, since it doesn't play well with __builtin__.help().
svn path=/branches/v1_0_maint/; revision=8817
1 parent a8e2aa7 commit d7a06da

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ class PolarAffine(Affine2DBase):
8888
that maximum radius rests on the edge of the axes circle.
8989
"""
9090
def __init__(self, scale_transform, limits):
91-
u"""
91+
"""
9292
*limits* is the view limit of the data. The only part of
9393
its bounds that is used is ymax (for the radius maximum).
94-
The theta range is always fixed to (0, 2\u03c0).
94+
The theta range is always fixed to (0, 2pi).
9595
"""
9696
Affine2DBase.__init__(self)
9797
self._scale_transform = scale_transform
@@ -141,10 +141,9 @@ def inverted(self):
141141
inverted.__doc__ = Transform.inverted.__doc__
142142

143143
class ThetaFormatter(Formatter):
144-
u"""
145-
Used to format the *theta* tick labels. Converts the
146-
native unit of radians into degrees and adds a degree symbol
147-
(\u00b0).
144+
"""
145+
Used to format the *theta* tick labels. Converts the native
146+
unit of radians into degrees and adds a degree symbol.
148147
"""
149148
def __call__(self, x, pos=None):
150149
# \u00b0 : degree symbol

0 commit comments

Comments
 (0)
0