()
| 71 | |
| 72 | |
| 73 | def test_canvas_change(): |
| 74 | fig = plt.figure() |
| 75 | # Replaces fig.canvas |
| 76 | canvas = FigureCanvasBase(fig) |
| 77 | # Should still work. |
| 78 | plt.close(fig) |
| 79 | assert not plt.fignum_exists(fig.number) |
| 80 | |
| 81 | |
| 82 | @pytest.mark.backend('pdf') |
nothing calls this directly
no test coverage detected
searching dependent graphs…