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

Skip to content

Commit c492ff8

Browse files
committed
update annotate documentation to explain *annotation_clip* parameter
svn path=/branches/v0_99_maint/; revision=8092
1 parent 9673250 commit c492ff8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/matplotlib/text.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,14 @@ def __init__(self, s, xy,
14381438
# 5 points below the top border
14391439
xy=(10,-5), xycoords='axes points'
14401440
1441+
1442+
The *annotation_clip* attribute contols the visibility of the
1443+
annotation when it goes outside the axes area. If True, the
1444+
annotation will only be drawn when the *xy* is inside the
1445+
axes. If False, the annotation will always be drawn regardless
1446+
of its position. The default is *None*, which behave as True
1447+
only if *xycoords* is"data".
1448+
14411449
Additional kwargs are Text properties:
14421450
14431451
%(Text)s

0 commit comments

Comments
 (0)