spatialdata-plot icon indicating copy to clipboard operation
spatialdata-plot copied to clipboard

Cannot plot table on shapes when lengths differ

Open LucaMarconato opened this issue 9 months ago • 1 comments

I get an out-of-index error when the table is longer than the shapes.

To reproduce please run this notebook here (stereoseq data).

The cell that leads to the problem is the following:

# can't make this plot because of this bug: https://github.com/scverse/spatialdata-plot/issues/266
sdata_crop.pl.render_shapes("cells_polygons", color='clusterID').pl.show()

LucaMarconato avatar May 24 '24 14:05 LucaMarconato