def test_delete_contours(): module = ContourLinesModule(extent=extent) fig, ax = plt.subplots() module.plot_contour_lines(frame, ax) fig.show() module.delete_contourns(ax) fig.show()
def test_update_array(): module = ContourLinesModule(extent=extent) fig, ax = plt.subplots() module.plot_contour_lines(frame, ax) fig.show() module.delete_contourns(ax) file = np.load(test_data['topo'] + "DEM2.npz") frame2 = file['arr_0'] module.plot_contour_lines(frame2, ax) fig.show()