matplotlib.figure.Figure.get_constrained_layout_pads#
- Figure.get_constrained_layout_pads(relative=False)[source]#
[Deprecated] Get padding for
constrained_layout.Returns a list of
w_pad, h_padin inches andwspaceandhspaceas fractions of the subplot. All values are None ifconstrained_layoutis not used.- Parameters:
- relativebool
If
True, then convert from inches to figure relative.
Notes
Deprecated since version 3.6: Use fig.get_layout_engine().get() instead.