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_pad
in inches andwspace
andhspace
as fractions of the subplot. All values are None ifconstrained_layout
is 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.