@@ -562,3 +562,51 @@ def test_plot_can_annotate_shapes_with_table_layer(self, sdata_blobs: SpatialDat
562562 sdata_blobs ["circle_table" ].layers ["normalized" ] = RNG .random ((nrows , ncols ))
563563
564564 sdata_blobs .pl .render_shapes ("blobs_circles" , color = "feature0" , table_layer = "normalized" ).pl .show ()
565+
566+ def test_plot_can_render_circles_to_hex (self , sdata_blobs : SpatialData ):
567+ sdata_blobs .pl .render_shapes (element = "blobs_circles" , shape = "hex" ).pl .show ()
568+
569+ def test_plot_can_render_circles_to_square (self , sdata_blobs : SpatialData ):
570+ sdata_blobs .pl .render_shapes (element = "blobs_circles" , shape = "square" ).pl .show ()
571+
572+ def test_plot_can_render_polygons_to_hex (self , sdata_blobs : SpatialData ):
573+ sdata_blobs .pl .render_shapes (element = "blobs_polygons" , shape = "hex" ).pl .show ()
574+
575+ def test_plot_can_render_polygons_to_square (self , sdata_blobs : SpatialData ):
576+ sdata_blobs .pl .render_shapes (element = "blobs_polygons" , shape = "square" ).pl .show ()
577+
578+ def test_plot_can_render_polygons_to_circle (self , sdata_blobs : SpatialData ):
579+ sdata_blobs .pl .render_shapes (element = "blobs_polygons" , shape = "circle" ).pl .show ()
580+
581+ def test_plot_can_render_multipolygons_to_hex (self , sdata_blobs : SpatialData ):
582+ sdata_blobs .pl .render_shapes (element = "blobs_multipolygons" , shape = "hex" ).pl .show ()
583+
584+ def test_plot_can_render_multipolygons_to_square (self , sdata_blobs : SpatialData ):
585+ sdata_blobs .pl .render_shapes (element = "blobs_multipolygons" , shape = "square" ).pl .show ()
586+
587+ def test_plot_can_render_multipolygons_to_circle (self , sdata_blobs : SpatialData ):
588+ sdata_blobs .pl .render_shapes (element = "blobs_multipolygons" , shape = "circle" ).pl .show ()
589+
590+ def test_plot_datashader_can_render_circles_to_hex (self , sdata_blobs : SpatialData ):
591+ sdata_blobs .pl .render_shapes (element = "blobs_circles" , shape = "hex" , method = "datashader" ).pl .show ()
592+
593+ def test_plot_datashader_can_render_circles_to_square (self , sdata_blobs : SpatialData ):
594+ sdata_blobs .pl .render_shapes (element = "blobs_circles" , shape = "square" , method = "datashader" ).pl .show ()
595+
596+ def test_plot_datashader_can_render_polygons_to_hex (self , sdata_blobs : SpatialData ):
597+ sdata_blobs .pl .render_shapes (element = "blobs_polygons" , shape = "hex" , method = "datashader" ).pl .show ()
598+
599+ def test_plot_datashader_can_render_polygons_to_square (self , sdata_blobs : SpatialData ):
600+ sdata_blobs .pl .render_shapes (element = "blobs_polygons" , shape = "square" , method = "datashader" ).pl .show ()
601+
602+ def test_plot_datashader_can_render_polygons_to_circle (self , sdata_blobs : SpatialData ):
603+ sdata_blobs .pl .render_shapes (element = "blobs_polygons" , shape = "circle" , method = "datashader" ).pl .show ()
604+
605+ def test_plot_datashader_can_render_multipolygons_to_hex (self , sdata_blobs : SpatialData ):
606+ sdata_blobs .pl .render_shapes (element = "blobs_multipolygons" , shape = "hex" , method = "datashader" ).pl .show ()
607+
608+ def test_plot_datashader_can_render_multipolygons_to_square (self , sdata_blobs : SpatialData ):
609+ sdata_blobs .pl .render_shapes (element = "blobs_multipolygons" , shape = "square" , method = "datashader" ).pl .show ()
610+
611+ def test_plot_datashader_can_render_multipolygons_to_circle (self , sdata_blobs : SpatialData ):
612+ sdata_blobs .pl .render_shapes (element = "blobs_multipolygons" , shape = "circle" , method = "datashader" ).pl .show ()
0 commit comments