()
| 83 | |
| 84 | |
| 85 | def test_long_path(): |
| 86 | buff = io.BytesIO() |
| 87 | fig = Figure() |
| 88 | ax = fig.subplots() |
| 89 | points = np.ones(100_000) |
| 90 | points[::2] *= -1 |
| 91 | ax.plot(points) |
| 92 | fig.savefig(buff, format='png') |
| 93 | |
| 94 | |
| 95 | @image_comparison(['agg_filter.png'], remove_text=True, style='_classic_test') |