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

Skip to content

Commit c19a4d3

Browse files
authored
Merge pull request #20624 from meeseeksmachine/auto-backport-of-pr-20609-on-v3.4.x
Backport PR #20609 on branch v3.4.x (FIX: fix figbox deprecation)
2 parents f75fd10 + 49ad0fc commit c19a4d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_subplots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ def get_gridspec(self):
7676
return self._subplotspec.get_gridspec()
7777

7878
@_api.deprecated(
79-
"3.4", alternative="get_subplotspec().get_position(self.figure)")
79+
"3.4", alternative="get_position()")
8080
@property
8181
def figbox(self):
82-
return self.get_subplotspec().get_position(self.figure)
82+
return self.get_position()
8383

8484
@_api.deprecated("3.4", alternative="get_gridspec().nrows")
8585
@property

0 commit comments

Comments
 (0)