Skip to content

Commit 035810b

Browse files
committed
DOC: explain clipbox a bit better
1 parent 274a4a9 commit 035810b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/artist.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,11 @@ def set_clip_box(self, clipbox):
765765
Parameters
766766
----------
767767
clipbox : `.Bbox`
768+
769+
Typically would be created from a `.TransformedBbox`. For
770+
instance ``TransformedBbox(Bbox([[0, 0], [1, 1]]), ax.transAxes)``
771+
is the default clipping for an artist added to an Axes.
772+
768773
"""
769774
self.clipbox = clipbox
770775
self.pchanged()

0 commit comments

Comments
 (0)