()
| 470 | |
| 471 | @image_comparison(['clipper_edge'], remove_text=True, style='_classic_test') |
| 472 | def test_clipper(): |
| 473 | dat = (0, 1, 0, 2, 0, 3, 0, 4, 0, 5) |
| 474 | fig = plt.figure(figsize=(2, 1)) |
| 475 | fig.subplots_adjust(left=0, bottom=0, wspace=0, hspace=0) |
| 476 | |
| 477 | ax = fig.add_axes((0, 0, 1.0, 1.0), ylim=(0, 5), autoscale_on=False) |
| 478 | ax.plot(dat) |
| 479 | ax.xaxis.set_major_locator(plt.MultipleLocator(1)) |
| 480 | ax.yaxis.set_major_locator(plt.MultipleLocator(1)) |
| 481 | ax.xaxis.set_ticks_position('bottom') |
| 482 | ax.yaxis.set_ticks_position('left') |
| 483 | |
| 484 | ax.set_xlim(5, 9) |
| 485 | |
| 486 | |
| 487 | @image_comparison(['para_equal_perp'], remove_text=True, style='_classic_test') |
nothing calls this directly
no test coverage detected
searching dependent graphs…