diff --git a/tests/core/test_data_extent.py b/tests/core/test_data_extent.py index 82973b4b..d94a2b88 100644 --- a/tests/core/test_data_extent.py +++ b/tests/core/test_data_extent.py @@ -125,8 +125,6 @@ def test_rotate_vector_data(exact): To test for the ability to correctly compute the exact and approximate extent of vector datasets. In particular tests for the solution to this issue: https://github.com/scverse/spatialdata/issues/353 """ - # import spatialdata_plot - # _ = spatialdata_plot circles = [] for p in [[0.5, 0.1], [0.9, 0.5], [0.5, 0.9], [0.1, 0.5]]: circles.append(Point(p)) @@ -170,12 +168,6 @@ def test_rotate_vector_data(exact): for element_name in ["circles", "polygons", "multipolygons", "points"]: set_transformation(element=sdata[element_name], transformation=rotation, to_coordinate_system="transformed") - # sdata.pl.render_shapes("circles").pl.show() - # sdata.pl.render_shapes("polygons").pl.show() - # sdata.pl.render_shapes("multipolygons").pl.show() - # sdata.pl.render_points("points", size=10).pl.show() - # sdata.pl.render_points().pl.render_shapes().pl.show() - # manually computing the extent results and verifying it is correct for e in [sdata, circles_gdf, polygons_gdf, multipolygons_gdf, points_df]: extent = get_extent(e, coordinate_system="global") @@ -256,8 +248,6 @@ def test_get_extent_affine_circles(): for ax in axes: assert not np.allclose(extent[ax], transformed_extent[ax]) - # min_coordinates, max_coordinates, axes = extent - # Create a list of points points = [ (extent["x"][0], extent["y"][0]), # lower left corner