I’m following the napari tutorials at the moment, and the viewer (+plus the documentation) looks great!
There is however a funny thing that happens when I run from jupyter notebook, this is a minimal example:
from skimage import data import napari with napari.gui_qt(): myviewer=napari.Viewer() myviewer.add_image(data.astronaut(),rgb=True) print(myviewer) print(viewer) # should not exist?
A variable named
viewer is automatically created and seems to point always to the latest viewer instance that I create.
(I had actually I created more than one viewer instance, named the first one “viewer” and lost access to it as soon as another instance was created).
This does not happen if the same script is run from terminal in the style
Any ideas what could be happening? Thanks already!