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

napari can only save the first shape #272

Open
wangjiawen2013 opened this issue Jul 12, 2024 · 1 comment
Open

napari can only save the first shape #272

wangjiawen2013 opened this issue Jul 12, 2024 · 1 comment

Comments

@wangjiawen2013
Copy link

Hi,
When I added multiple shapes using napari-spatialdata, I found only the first shape were saved in spataildata object:
image

The second and third shapes cannot be displayed in jupyter notebook:
image

@melonora
Copy link
Collaborator

Hmm I will have a look, in the meantime you could try adding the shapes with the annotation widget (in the plugin menu). With the widget open and 1 element from spatialdata, open a shapes layer and press the button link to spatialdata. Then you can add annotation classes, specify the colors and also change name of an annotation class by clicking on the text. At the bottom of the widget you also find a button to save back to spatialdata

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

2 participants