Test tight_layout for multiple subplots.
()
| 45 | |
| 46 | @image_comparison(['tight_layout3'], style='mpl20') |
| 47 | def test_tight_layout3(): |
| 48 | """Test tight_layout for multiple subplots.""" |
| 49 | ax1 = plt.subplot(221) |
| 50 | ax2 = plt.subplot(223) |
| 51 | ax3 = plt.subplot(122) |
| 52 | example_plot(ax1) |
| 53 | example_plot(ax2) |
| 54 | example_plot(ax3) |
| 55 | plt.tight_layout() |
| 56 | |
| 57 | |
| 58 | @image_comparison(['tight_layout4'], style='mpl20') |
nothing calls this directly
no test coverage detected
searching dependent graphs…