()
| 20 | |
| 21 | @image_comparison(['clipping'], remove_text=True, style='_classic_test') |
| 22 | def test_clipping(): |
| 23 | t = np.arange(0.0, 2.0, 0.01) |
| 24 | s = np.sin(2*np.pi*t) |
| 25 | |
| 26 | fig, ax = plt.subplots() |
| 27 | ax.plot(t, s, linewidth=1.0) |
| 28 | ax.set_ylim(-0.20, -0.28) |
| 29 | |
| 30 | |
| 31 | @image_comparison(['overflow'], remove_text=True, style='_classic_test', |