zoccoler / napari-flim-phasor-plotter

BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Avoid using `Labels.color` #50

Open zoccoler opened 7 months ago

zoccoler commented 7 months ago

With napari 0.4.19, this warnings pops up after manually selecting a cluster

FutureWarning: Labels.color is deprecated since 0.4.19 and will be removed in 0.5.0, please set Labels.colormap directly with an instance of napari.utils.colormaps.DirectLabelColormap instead.!

zoccoler commented 7 months ago

Part of the warnings comes from napari-clusters-plotter. Related issue here

zoccoler commented 7 months ago

Partially solved via #53 but napari-clusters-plotter should fix on their side so that we update it also here