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

color legend for categorical annoation in table

Open ynanli opened this issue 9 months ago • 2 comments

Hi, I am using the viewer to visualize the categorical labels in the table (e.g., cell types) from steinbock-generated data. The viewer plots perfectly, even with a subsetted table. However, it is hard to figure out which labels they are on the image as they are color-coded without a legend. I tried to look at the values shown in the viewer but without success. The indices of the table and label image start differently (0 for image, 1 for table), and it becomes even worse with the subsetted table.

I included a snapshot of the viewer with a subsetted table. My cursor was on one of the orange cells. Is there a way to figure out what these colors mean? Many thanks!

grafik

ynanli avatar May 17 '24 18:05 ynanli