(fig_test, fig_ref)
| 336 | |
| 337 | @check_figures_equal() |
| 338 | def test_input_copy(fig_test, fig_ref): |
| 339 | |
| 340 | t = np.arange(0, 6, 2) |
| 341 | l, = fig_test.add_subplot().plot(t, t, ".-") |
| 342 | t[:] = range(3) |
| 343 | # Trigger cache invalidation |
| 344 | l.set_drawstyle("steps") |
| 345 | fig_ref.add_subplot().plot([0, 2, 4], [0, 2, 4], ".-", drawstyle="steps") |
| 346 | |
| 347 | |
| 348 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…