@@ -1532,12 +1532,11 @@ def set_annotation_clip(self, b):
15321532 Parameters
15331533 ----------
15341534 b : bool or None
1535- - True: the annotation will only be drawn when ``self.xy`` is
1536- inside the axes.
1537- - False: the annotation will always be drawn regardless of its
1538- position.
1539- - None: the ``self.xy`` will be checked only if *xycoords* is
1540- "data".
1535+ - True: The annotation will be clipped when ``self.xy`` is
1536+ outside the axes.
1537+ - False: The annotation will always be drawn.
1538+ - None: The annotation will be clipped when ``self.xy`` is
1539+ outside the axes and ``self.xycoords == "data"``.
15411540 """
15421541 self ._annotation_clip = b
15431542
@@ -1767,14 +1766,14 @@ def transform(renderer) -> Transform
17671766 centered in the text box.
17681767
17691768 annotation_clip : bool or None, default: None
1770- Whether to draw the annotation when the annotation point *xy* is
1771- outside the axes area.
1769+ Whether to clip (i.e. not draw) the annotation when the annotation
1770+ point *xy* is outside the axes area.
17721771
1773- - If *True*, the annotation will only be drawn when *xy* is
1774- within the axes.
1772+ - If *True*, the annotation will be clipped when *xy* is outside
1773+ the axes.
17751774 - If *False*, the annotation will always be drawn.
1776- - If *None*, the annotation will only be drawn when *xy* is
1777- within the axes and *xycoords* is 'data'.
1775+ - If *None*, the annotation will be clipped when *xy* is outside
1776+ the axes and *xycoords* is 'data'.
17781777
17791778 **kwargs
17801779 Additional kwargs are passed to `~matplotlib.text.Text`.
0 commit comments