matplotlib.figure.Figure.set_constrained_layout
- Figure.set_constrained_layout(constrained)
[Deprecated] Set whether
constrained_layoutis used upon drawing.If None,
rcParams["figure.constrained_layout.use"](default:False) value will be used.When providing a dict containing the keys
w_pad,the default paddings will be overridden. These pads are in inches and default to 3.0/72.0. is the width padding and is the height padding.