Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcae31a commit 0c57b7aCopy full SHA for 0c57b7a
1 file changed
lib/matplotlib/axes.py
@@ -8002,7 +8002,7 @@ def get_tightbbox(self, renderer):
8002
bb.extend([bby1, bby2])
8003
8004
8005
- bb.extend([c.get_window_extent(renderer) for c in artists])
+ bb.extend([c.get_window_extent(renderer) for c in artists if c.get_visible()])
8006
8007
_bbox = mtransforms.Bbox.union([b for b in bb if b.width!=0 or b.height!=0])
8008
0 commit comments