Skip to content

Commit d187bd2

Browse files
authored
Merge pull request matplotlib#24894 from jklymak/doc-clippath
DOC: explain clipbox a bit better
2 parents cc40f2a + 035810b commit d187bd2

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)