Skip to content

Commit dc58327

Browse files
committed
Include artists with clip_on=False (fixes #308)
1 parent 31af7a2 commit dc58327

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proplot/axes/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,6 +2828,7 @@ def get_default_bbox_extra_artists(self):
28282828
artists = [
28292829
artist for artist in super().get_default_bbox_extra_artists()
28302830
if isinstance(artist, (maxes.Axes, maxis.Axis, mspines.Spine))
2831+
or not artist.get_clip_on()
28312832
or not isinstance(artist.get_clip_path(), mtransforms.TransformedPatchPath)
28322833
or artist.get_clip_path()._patch is not self.patch
28332834
]

0 commit comments

Comments
 (0)