Revision: 8817
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8817&view=rev
Author: mdboom
Date: 2010-12-06 13:37:15 +0000 (Mon, 06 Dec 2010)
Log Message:
-----------
Remove unicode from docstrings, since it doesn't play well with __builtin__.help().
Modified Paths:
--------------
branches/v1_0_maint/lib/matplotlib/projections/polar.py
Modified: branches/v1_0_maint/lib/matplotlib/projections/polar.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/projections/polar.py 2010-12-05 21:09:47 UTC (rev 8816)
+++ branches/v1_0_maint/lib/matplotlib/projections/polar.py 2010-12-06 13:37:15 UTC (rev 8817)
@@ -88,10 +88,10 @@
that maximum radius rests on the edge of the axes circle.
"""
def __init__(self, scale_transform, limits):
- u"""
+ """
*limits* is the view limit of the data. The only part of
its bounds that is used is ymax (for the radius maximum).
- The theta range is always fixed to (0, 2\u03c0).
+ The theta range is always fixed to (0, 2pi).
"""
Affine2DBase.__init__(self)
self._scale_transform = scale_transform
@@ -141,11 +141,10 @@
inverted.__doc__ = Transform.inverted.__doc__
class ThetaFormatter(Formatter):
- u"""
- Used to format the *theta* tick labels. Converts the
- native unit of radians into degrees and adds a degree symbol
- (\u00b0).
"""
+ Used to format the *theta* tick labels. Converts the native
+ unit of radians into degrees and adds a degree symbol.
+ """
def __call__(self, x, pos=None):
# \u00b0 : degree symbol
if rcParams['text.usetex'] and not rcParams['text.latex.unicode']:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|