Skip to content

Commit 0677d8f

Browse files
committed
more tests
1 parent 22038e3 commit 0677d8f

4 files changed

+7
-2
lines changed
Loading
Loading

tests/pl/test_render_shapes.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,15 @@ def test_plot_can_render_polygons(self, sdata_blobs: SpatialData):
3434
def test_plot_can_render_polygons_with_outline(self, sdata_blobs: SpatialData):
3535
sdata_blobs.pl.render_shapes(elements="blobs_polygons", outline=True).pl.show()
3636

37-
def test_plot_can_render_polygons_with_colored_outline(self, sdata_blobs: SpatialData):
37+
def test_plot_can_render_polygons_with_str_colored_outline(self, sdata_blobs: SpatialData):
3838
sdata_blobs.pl.render_shapes(elements="blobs_polygons", outline=True, outline_color="red").pl.show()
3939

40-
def test_plot_can_render_polygons_with_numericcolored_outline(self, sdata_blobs: SpatialData):
40+
def test_plot_can_render_polygons_with_rgb_colored_outline(self, sdata_blobs: SpatialData):
41+
sdata_blobs.pl.render_shapes(
42+
elements="blobs_polygons", outline=True, outline_color=(0.0, 0.0, 1.0, 1.0)
43+
).pl.show()
44+
45+
def test_plot_can_render_polygons_with_rgba_colored_outline(self, sdata_blobs: SpatialData):
4146
sdata_blobs.pl.render_shapes(
4247
elements="blobs_polygons", outline=True, outline_color=(0.0, 1.0, 0.0, 1.0)
4348
).pl.show()

0 commit comments

Comments
 (0)