Plot image in grayscale
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?
Thanks for the suggestion. I think adding a b/w-transformed image to the spatialdata object is an extra step that we could avoided. Leaving the comment on the preferred approach to @Sonja-Stockhaus and @timtreis.
I think adding a b/w-transformed image to the spatialdata object is an extra step that we could avoided.
Agree on this. I like the idea 🤔