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

Function margins

lib/matplotlib/pyplot.py:3857–3863  ·  view source on GitHub ↗
(
    *margins: float,
    x: float | None = None,
    y: float | None = None,
    tight: bool | None = True,
)

Source from the content-addressed store, hash-verified

3855# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
3856@_copy_docstring_and_deprecators(Axes.margins)
3857def margins(
3858 *margins: float,
3859 x: float | None = None,
3860 y: float | None = None,
3861 tight: bool | None = True,
3862) -> tuple[float, float] | None:
3863 return gca().margins(*margins, x=x, y=y, tight=tight)
3864
3865
3866# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcaFunction · 0.85
marginsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…