()
| 27 | |
| 28 | @image_comparison(['Subplot.png'], style='mpl20') |
| 29 | def test_Subplot(): |
| 30 | fig = plt.figure() |
| 31 | |
| 32 | ax = Subplot(fig, 1, 1, 1) |
| 33 | fig.add_subplot(ax) |
| 34 | |
| 35 | xx = np.arange(0, 2 * np.pi, 0.01) |
| 36 | ax.plot(xx, np.sin(xx)) |
| 37 | ax.set_ylabel("Test") |
| 38 | |
| 39 | ax.axis["left"].major_ticks.set_tick_out(False) |
| 40 | ax.axis["right"].major_ticks.set_tick_out(False) |
| 41 | |
| 42 | ax.axis["bottom"].set_label("Tk0") |
| 43 | |
| 44 | |
| 45 | def test_Axes(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…