matplotlib.figure.Figure.set_tight_layout#
- Figure.set_tight_layout(tight)[source]#
[Deprecated] Set whether and how
Figure.tight_layoutis called when drawing.- Parameters:
- tightbool or dict with keys "pad", "w_pad", "h_pad", "rect" or None
If a bool, sets whether to call
Figure.tight_layoutupon drawing.IfNone, usercParams["figure.autolayout"](default:False) instead.If a dict, pass it as kwargs toFigure.tight_layout, overriding thedefault paddings.
Notes
Deprecated since version 3.6:Use set_layout_engine instead.
On this page