MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / tight_layout

Function tight_layout

lib/matplotlib/pyplot.py:2985–2992  ·  view source on GitHub ↗
(
    *,
    pad: float = 1.08,
    h_pad: float | None = None,
    w_pad: float | None = None,
    rect: tuple[float, float, float, float] | None = None,
)

Source from the content-addressed store, hash-verified

2983# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2984@_copy_docstring_and_deprecators(Figure.tight_layout)
2985def tight_layout(
2986 *,
2987 pad: float = 1.08,
2988 h_pad: float | None = None,
2989 w_pad: float | None = None,
2990 rect: tuple[float, float, float, float] | None = None,
2991) -> None:
2992 gcf().tight_layout(pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect)
2993
2994
2995# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcfFunction · 0.85
tight_layoutMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…