()
| 813 | |
| 814 | |
| 815 | def test_figureimage_setdata(): |
| 816 | fig = plt.gcf() |
| 817 | im = FigureImage(fig) |
| 818 | z = np.arange(12, dtype=float).reshape((4, 3)) |
| 819 | im.set_data(z) |
| 820 | z[0, 0] = 9.9 |
| 821 | assert im._A[0, 0] == 0, 'value changed' |
| 822 | |
| 823 | |
| 824 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…