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

Plot image in grayscale

Open grst opened this issue 10 months ago • 2 comments

scanpy.pl.spatial has a argument bw=True that allows to plot a background image in grayscale. I find that useful when plotting shapes on top of an image because the pink H&E image can distract from the color scale of the shapes.

Would it be worth adding such a functionality to spatialdata_plot.pl.render_imges? Or would you recommend adding a b/w-transformed image to the spatialdata object instead?

grst avatar Jan 20 '25 14:01 grst