-
Notifications
You must be signed in to change notification settings - Fork 14
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
Drawing shapes in napari_spatialdata results in Z-Polygons that cannot be plotted with pl.render_shapes #230
Comments
Hi @pakiessling, yes our data model currently assumes shapes (circles, polygons/multiploygons) to be 2D. I will add a check on the parser and validator in If you created the polygon as a napari-spatialdata annotation and you found that it included the |
I created the problematic polygon in napari-spatialdata. |
Thanks, I'll look into this. I suggest to remove the z component, replace the shapes object in-memory and proceed with the analysis. I will fix the napari behaviour; tracker here: scverse/napari-spatialdata#218. With "napari annotation" I was referring to the shape layer. |
Perfect, thank you! |
I fixed it with scverse/napari-spatialdata#228, now napari will only save 2D points and 2D shapes 😊 |
Heya,
Is this expected behavior?
Ty!
The text was updated successfully, but these errors were encountered: