saeyslab / harpy

https://harpy.readthedocs.io/en/latest/
Other
7 stars 1 forks source link

Add more information on hover pixel map #25

Open berombau opened 4 months ago

berombau commented 4 months ago

One of the main benefits of using napari to view the phenotype maps is the ability to add extra information. One usecase is showing the cluster names when hovering over the map in napari-spatialdata, not just the cluster index in the color map of the Labels layer.

Possible with custom mouse functions: https://github.com/napari/napari/blob/main/examples/custom_mouse_functions.py Similar to: https://github.com/napari/napari/issues/531

Possible future support for more bespoke tooltip in napari, but implemented in the plugin: https://github.com/napari/napari/issues/6570