Skip to content

Commit 74cb288

Browse files
committed
Remove execute_constrained_layout
1 parent 1b2c011 commit 74cb288

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/matplotlib/figure.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3474,21 +3474,6 @@ def handler(ev):
34743474

34753475
return None if event is None else event.name == "key_press_event"
34763476

3477-
@_api.deprecated("3.6", alternative="figure.get_layout_engine().execute()")
3478-
def execute_constrained_layout(self, renderer=None):
3479-
"""
3480-
Use ``layoutgrid`` to determine pos positions within Axes.
3481-
3482-
See also `.set_constrained_layout_pads`.
3483-
3484-
Returns
3485-
-------
3486-
layoutgrid : private debugging object
3487-
"""
3488-
if not isinstance(self.get_layout_engine(), ConstrainedLayoutEngine):
3489-
return None
3490-
return self.get_layout_engine().execute(self)
3491-
34923477
def tight_layout(self, *, pad=1.08, h_pad=None, w_pad=None, rect=None):
34933478
"""
34943479
Adjust the padding between and around subplots.

0 commit comments

Comments
 (0)