fmicompbio / ez_zarr

GIve easy, high-level access to ome-zarr fileset
https://fmicompbio.github.io/ez_zarr/
MIT License
13 stars 1 forks source link

Allow for inferno-like palettes for single channel images in plot_image() #24

Open silvbarb opened 1 month ago

silvbarb commented 1 month ago

For inspection of single stainings, it can be quite useful to use a perceptually uniform color palette from matplotlib, like inferno, instead of different intensities of an RGB color (https://matplotlib.org/stable/users/explain/colors/colormaps.html)

Currently we enforce the conversion of the image to RGB, thereby preventing the usual behavior of the matplotlib 'cmap' argument.

What do you think?