Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinate system widget shown twice #286

Open
LucaMarconato opened this issue Aug 9, 2024 · 0 comments
Open

Coordinate system widget shown twice #286

LucaMarconato opened this issue Aug 9, 2024 · 0 comments

Comments

@LucaMarconato
Copy link
Member

Discovered a weird bug.

If you run this script as a Python script

from spatialdata.datasets import blobs_annotating_element
from napari_spatialdata import Interactive

for name in ['blobs_polygons', 'blobs_circles']:
    sdata = blobs_annotating_element(name=name)
    Interactive(sdata)

Everything will look normal: a napari window will appear, you will close it and a second one will appear.

But if you run the same code in a Python console, due to the non-blocking behavior of the napari window, you will get an interface like this one, with two coordinate system widgets:

CleanShot 2024-08-09 at 16 03 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant