is it possible in Napari to get the coordinates of the mouse when it is clicked over an image/labels layers?. In particular, I am interested in implementing a method that would be triggered when I click over an image/labels layers, and inside that method I would use the coordinates of the mouse to extract information about the pixel at that particular locations, e.g., image[x, y], labels[x,y], and then show some additional information on the status bar (is it possible to modify/append the text shown on the status bar?).
I took a look at the napari example " examples/ custom_mouse_functions.py", but it does not run:
AttributeError: ‘Viewer’ object has no attribute ‘mouse_press_callbacks’
Thank you very much for all the help