Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e47471

Browse files
committed
a bit more comment
1 parent 4d1bbb1 commit 9e47471

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/figure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,6 +2298,8 @@ def get_tightbbox(self, renderer, bbox_extra_artists=None):
22982298

22992299
for ax in self.axes:
23002300
if ax.get_visible():
2301+
# some axes don't take the bbox_extra_artists kwarg so we
2302+
# need this conditional....
23012303
try:
23022304
bbox = ax.get_tightbbox(renderer,
23032305
bbox_extra_artists=bbox_extra_artists)

0 commit comments

Comments
 (0)