(fig_test, fig_ref)
| 230 | |
| 231 | @check_figures_equal() |
| 232 | def test_matshow(fig_test, fig_ref): |
| 233 | mpl.style.use("mpl20") |
| 234 | a = np.random.rand(32, 32) |
| 235 | fig_test.add_subplot().matshow(a) |
| 236 | ax_ref = fig_ref.add_subplot() |
| 237 | ax_ref.imshow(a) |
| 238 | ax_ref.xaxis.tick_top() |
| 239 | ax_ref.xaxis.set_ticks_position('both') |
| 240 | |
| 241 | |
| 242 | @image_comparison([f'formatter_ticker_{i:03d}.png' for i in range(1, 6)], style='mpl20', |
nothing calls this directly
no test coverage detected
searching dependent graphs…