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

Skip to content

Commit c773fec

Browse files
authored
Merge pull request #23572 from anntzer/ggp
Deprecate `get_grid_positions(..., raw=True)`.
2 parents e68c1e8 + 6520d52 commit c773fec

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``GridSpecBase.get_grid_positions(..., raw=True)``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
... is deprecated.

lib/matplotlib/gridspec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def get_height_ratios(self):
142142
"""
143143
return self._row_height_ratios
144144

145+
@_api.delete_parameter("3.7", "raw")
145146
def get_grid_positions(self, fig, raw=False):
146147
"""
147148
Return the positions of the grid cells in figure coordinates.

0 commit comments

Comments
 (0)