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

Function test_tight_layout1

lib/matplotlib/tests/test_tightlayout.py:28–32  ·  view source on GitHub ↗

Test tight_layout for a single subplot.

()

Source from the content-addressed store, hash-verified

26
27@image_comparison(['tight_layout1'], style='mpl20')
28def test_tight_layout1():
29 """Test tight_layout for a single subplot."""
30 fig, ax = plt.subplots()
31 example_plot(ax, fontsize=24)
32 plt.tight_layout()
33
34
35@image_comparison(['tight_layout2'], style='mpl20')

Callers

nothing calls this directly

Calls 3

example_plotFunction · 0.70
subplotsMethod · 0.45
tight_layoutMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…