()
| 801 | |
| 802 | |
| 803 | def test_contour_remove(): |
| 804 | ax = plt.figure().add_subplot() |
| 805 | orig_children = ax.get_children() |
| 806 | cs = ax.contour(np.arange(16).reshape((4, 4))) |
| 807 | cs.clabel() |
| 808 | assert ax.get_children() != orig_children |
| 809 | cs.remove() |
| 810 | assert ax.get_children() == orig_children |
| 811 | |
| 812 | |
| 813 | def test_contour_remove_with_labels(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…