Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef89fb7

Browse filesBrowse files
authored
Merge pull request #20609 from jklymak/fix-figbox-depr
FIX: fix figbox deprecation
2 parents 0dd603f + 9068638 commit ef89fb7
Copy full SHA for ef89fb7

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/axes/_subplots.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_subplots.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def get_gridspec(self):
6464
return self._subplotspec.get_gridspec()
6565

6666
@_api.deprecated(
67-
"3.4", alternative="get_subplotspec().get_position(self.figure)")
67+
"3.4", alternative="get_position()")
6868
@property
6969
def figbox(self):
70-
return self.get_subplotspec().get_position(self.figure)
70+
return self.get_position()
7171

7272
@_api.deprecated("3.4", alternative="get_gridspec().nrows")
7373
@property

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.