|
From: <md...@us...> - 2008-06-24 17:37:31
|
Revision: 5661
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5661&view=rev
Author: mdboom
Date: 2008-06-24 10:36:44 -0700 (Tue, 24 Jun 2008)
Log Message:
-----------
Docstring formatting fixes.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/patches.py
Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py 2008-06-24 17:35:57 UTC (rev 5660)
+++ trunk/matplotlib/lib/matplotlib/patches.py 2008-06-24 17:36:44 UTC (rev 5661)
@@ -153,7 +153,7 @@
def get_linewidth(self):
return self._linewidth
get_lw = get_linewidth
-
+
def get_linestyle(self):
return self._linestyle
get_ls = get_linestyle
@@ -197,7 +197,7 @@
if w is None: w = mpl.rcParams['patch.linewidth']
self._linewidth = w
set_lw = set_linewidth
-
+
def set_linestyle(self, ls):
"""
Set the patch linestyle
@@ -645,6 +645,7 @@
self.theta2 = theta2
self._patch_transform = transforms.IdentityTransform()
self._path = Path.wedge(self.theta1, self.theta2)
+ __init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd
def get_path(self):
return self._path
@@ -931,6 +932,7 @@
self._path = Path.unit_circle()
self._patch_transform = transforms.IdentityTransform()
self._recompute_transform()
+ __init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd
def _recompute_transform(self):
center = (self.convert_xunits(self.center[0]),
@@ -1037,6 +1039,7 @@
self.theta1 = theta1
self.theta2 = theta2
+ __init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd
def draw(self, renderer):
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|