|
From: <jd...@us...> - 2008-11-23 19:18:29
|
Revision: 6436
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6436&view=rev
Author: jdh2358
Date: 2008-11-23 19:18:24 +0000 (Sun, 23 Nov 2008)
Log Message:
-----------
fixed text docstring
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/text.py
Modified: trunk/matplotlib/lib/matplotlib/text.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/text.py 2008-11-23 19:16:40 UTC (rev 6435)
+++ trunk/matplotlib/lib/matplotlib/text.py 2008-11-23 19:18:24 UTC (rev 6436)
@@ -375,7 +375,7 @@
if not isinstance(self.arrow_patch, FancyArrowPatch):
return
-
+
if self._bbox_patch:
trans = self.get_transform()
@@ -1295,8 +1295,8 @@
instance is created with the given dictionary and is
drawn. Otherwise, a YAArow patch instance is created and
drawn. Valid keys for YAArow are
-
+
========= ===========================================================
Key Description
========= ===========================================================
@@ -1314,10 +1314,10 @@
Valid keys for FancyArrowPatch are
-
+
=============== ======================================================
- Key Description
+ Key Description
=============== ======================================================
arrowstyle
connectionstyle
@@ -1383,7 +1383,7 @@
self.arrowprops = arrowprops
self.arrow = None
-
+
if arrowprops and arrowprops.has_key("arrowstyle"):
self._arrow_relpos = arrowprops.pop("relpos", (0.5, 0.5))
@@ -1392,7 +1392,7 @@
else:
self.arrow_patch = None
-
+
__init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd
def contains(self,event):
@@ -1402,7 +1402,7 @@
t = t or a
# self.arrow_patch is currently not checked as this can be a line - JJ
-
+
return t,tinfo
@@ -1551,7 +1551,7 @@
# Then it will be shrinked by shirnkA and shrinkB
# (in points). If patch A is not set, self.bbox_patch
# is used.
-
+
self.arrow_patch.set_positions((ox0, oy0), (ox1,oy1))
mutation_scale = d.pop("mutation_scale", self.get_size())
self.arrow_patch.set_mutation_scale(mutation_scale)
@@ -1562,7 +1562,7 @@
else:
patchA = d.pop("patchA", self._bbox)
self.arrow_patch.set_patchA(patchA)
-
+
else:
# pick the x,y corner of the text bbox closest to point
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|