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

Skip to content

Commit 41e7050

Browse files
committed
Remove execute_constrained_layout
1 parent 45673bf commit 41e7050

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
@@ -3437,21 +3437,6 @@ def handler(ev):
34373437

34383438
return None if event is None else event.name == "key_press_event"
34393439

3440-
@_api.deprecated("3.6", alternative="figure.get_layout_engine().execute()")
3441-
def execute_constrained_layout(self, renderer=None):
3442-
"""
3443-
Use ``layoutgrid`` to determine pos positions within Axes.
3444-
3445-
See also `.set_constrained_layout_pads`.
3446-
3447-
Returns
3448-
-------
3449-
layoutgrid : private debugging object
3450-
"""
3451-
if not isinstance(self.get_layout_engine(), ConstrainedLayoutEngine):
3452-
return None
3453-
return self.get_layout_engine().execute(self)
3454-
34553440
def tight_layout(self, *, pad=1.08, h_pad=None, w_pad=None, rect=None):
34563441
"""
34573442
Adjust the padding between and around subplots.

0 commit comments

Comments
 (0)