()
| 1364 | |
| 1365 | |
| 1366 | def test_imshow_quantitynd(): |
| 1367 | # generate a dummy ndarray subclass |
| 1368 | arr = QuantityND(np.ones((2, 2)), "m") |
| 1369 | fig, ax = plt.subplots() |
| 1370 | ax.imshow(arr) |
| 1371 | # executing the draw should not raise an exception |
| 1372 | fig.canvas.draw() |
| 1373 | |
| 1374 | |
| 1375 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…