Test automatic use of tight_layout.
()
| 136 | |
| 137 | @image_comparison(['tight_layout8'], style='mpl20', tol=0.005) |
| 138 | def test_tight_layout8(): |
| 139 | """Test automatic use of tight_layout.""" |
| 140 | fig = plt.figure() |
| 141 | fig.set_layout_engine(layout='tight', pad=0.1) |
| 142 | ax = fig.add_subplot() |
| 143 | example_plot(ax, fontsize=24) |
| 144 | fig.draw_without_rendering() |
| 145 | |
| 146 | |
| 147 | @image_comparison(['tight_layout9'], style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…