scverse / scverse/napari-spatialdata
Coordinate system widget shown twice
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 90
- Forks
- 25
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
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:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the example with blobs_annotating_element and Interactive in a Python console, then inspect the Interactive entry point and the coordinate-system widget setup. Confirm where the second widget is created and define done as one widget remaining when both visualizations are opened.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100