Skip to content

Commit 6520d52

Browse files
committed
Deprecate get_grid_positions(..., raw=True).
The API was added in f8dfea7 but never actually used anywhere.
1 parent bf9a451 commit 6520d52

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)