scverse / scverse/napari-spatialdata

Widget to explain Color code of shapes

Open
#350 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
90
Forks
25
Avg merge
22m
Merged PRs (30d)
1

Description

Hi,

I would love to replace Xenium explorer with Napari-Spatialdata now that Shapes performance is super good.

What has been stopping me is that it is at the moment really difficult to understand color coding for shapes, which is something I constantly use.

As this is currently not supported by Napari https://github.com/napari/napari/issues/7306 my current work around would be to define colors manually in .uns and have a matplotlib plot in Juypter that shows what color means what.

Would it maybe be possible to have this as a automatic Napari widget? Read colors .uns and create a little legend?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named. Start by reading the linked Napari issue and examining how shape colors are stored in .uns; define what the widget should display and verify that it produces a clear legend mapping colors to shapes.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, matplotlib, python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.