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

Feature: PCA aggregation for n >= 4 channels in render_images

Open timtreis opened this issue 9 months ago • 2 comments

timtreis avatar Apr 22 '25 21:04 timtreis

I am experiencing problems related to n >= 4 channels: this is the Xenium notebook in the docs

Image

And this is from the current main:

Image

Before I think the image was treated as RGBA, now the INFO says Your image has 4 channels. Sampling categorical colors and using multichannel strategy 'stack' to render..

RGBA may have not been the best approach in the first place. What's your recommended change to the code? Shall I pass a custom palette?

LucaMarconato avatar Nov 03 '25 16:11 LucaMarconato

I changed the code in the notebook: now I plot single-channels.

LucaMarconato avatar Nov 03 '25 17:11 LucaMarconato