[Deprecated] Set padding for constrained_layout
.
Tip: The parameters can be passed from a dictionary by using fig.set_constrained_layout(**pad_dict)
.
rcParams["figure.constrained_layout.w_pad"]
(default: 0.04167
)
Width padding in inches. This is the pad around Axes and is meant to make sure there is enough room for fonts to look good. Defaults to 3 pts = 0.04167 inches
rcParams["figure.constrained_layout.h_pad"]
(default: 0.04167
)
Height padding in inches. Defaults to 3 pts.
rcParams["figure.constrained_layout.wspace"]
(default: 0.02
)
Width padding between subplots, expressed as a fraction of the subplot width. The total padding ends up being w_pad + wspace.
rcParams["figure.constrained_layout.hspace"]
(default: 0.02
)
Height padding between subplots, expressed as a fraction of the subplot width. The total padding ends up being h_pad + hspace.
Notes
Deprecated since version 3.6: Use figure.get_layout_engine().set() instead.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4