Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50c4f72

Browse files
committed
fixed text docstring
svn path=/trunk/matplotlib/; revision=6436
1 parent 0f51aaf commit 50c4f72

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

lib/matplotlib/text.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def update_bbox_position_size(self, renderer):
375375

376376
if not isinstance(self.arrow_patch, FancyArrowPatch):
377377
return
378-
378+
379379
if self._bbox_patch:
380380

381381
trans = self.get_transform()
@@ -1295,7 +1295,7 @@ def __init__(self, s, xy,
12951295
instance is created with the given dictionary and is
12961296
drawn. Otherwise, a YAArow patch instance is created and
12971297
drawn. Valid keys for YAArow are
1298-
1298+
12991299
13001300
========= ===========================================================
13011301
Key Description
@@ -1314,10 +1314,10 @@ def __init__(self, s, xy,
13141314
13151315
13161316
Valid keys for FancyArrowPatch are
1317-
1317+
13181318
13191319
=============== ======================================================
1320-
Key Description
1320+
Key Description
13211321
=============== ======================================================
13221322
arrowstyle
13231323
connectionstyle
@@ -1383,7 +1383,7 @@ def __init__(self, s, xy,
13831383
self.arrowprops = arrowprops
13841384

13851385
self.arrow = None
1386-
1386+
13871387
if arrowprops and arrowprops.has_key("arrowstyle"):
13881388

13891389
self._arrow_relpos = arrowprops.pop("relpos", (0.5, 0.5))
@@ -1392,7 +1392,7 @@ def __init__(self, s, xy,
13921392
else:
13931393
self.arrow_patch = None
13941394

1395-
1395+
13961396
__init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd
13971397

13981398
def contains(self,event):
@@ -1402,7 +1402,7 @@ def contains(self,event):
14021402
t = t or a
14031403

14041404
# self.arrow_patch is currently not checked as this can be a line - JJ
1405-
1405+
14061406
return t,tinfo
14071407

14081408

@@ -1551,7 +1551,7 @@ def update_positions(self, renderer):
15511551
# Then it will be shrinked by shirnkA and shrinkB
15521552
# (in points). If patch A is not set, self.bbox_patch
15531553
# is used.
1554-
1554+
15551555
self.arrow_patch.set_positions((ox0, oy0), (ox1,oy1))
15561556
mutation_scale = d.pop("mutation_scale", self.get_size())
15571557
self.arrow_patch.set_mutation_scale(mutation_scale)
@@ -1562,7 +1562,7 @@ def update_positions(self, renderer):
15621562
else:
15631563
patchA = d.pop("patchA", self._bbox)
15641564
self.arrow_patch.set_patchA(patchA)
1565-
1565+
15661566
else:
15671567

15681568
# pick the x,y corner of the text bbox closest to point

0 commit comments

Comments
 (0)