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

Function test_repeated_tightlayout

lib/matplotlib/tests/test_figure.py:785–790  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

783
784
785def test_repeated_tightlayout():
786 fig = Figure()
787 fig.tight_layout()
788 # subsequent calls should not warn
789 fig.tight_layout()
790 fig.tight_layout()
791
792
793@check_figures_equal(extensions=["png", "pdf"])

Callers

nothing calls this directly

Calls 2

tight_layoutMethod · 0.95
FigureClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…