scverse / scverse/napari-spatialdata
Plotting channels into linked labels layers
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 90
- Forks
- 25
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
Playing around with the exemplar-002 dataset I noticed that if I link the 4 labels layers and I try plotting the matrix on top the result is wrong:
- the layers name don't get updated
- the labels get colored, but with a wrong color.
I suspect that the wrong color is due to a wrong scaling of the colormap, that is normalized to a single layer instead of all the 4 layers.
I think that we can fix this. This would lead to a convenient user experience to plot genes onto multiple layers at once.
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
Reproduce the problem with the exemplar-002 dataset by linking the four labels layers and plotting the matrix on top. Inspect the linked-layer plotting behavior, focusing on layer-name updates and colormap normalization across all four layers; done means names update and label colors use the correct shared scale.
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
- 45/100