scverse / scverse/scanpy

Public function for accessing category colors

Open
#1,881 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area - Plotting 🌺
Dominant language
Python
Stars
2.6k
Forks
779
Avg merge
1d 4h
Merged PRs (30d)
27

Description

I noticed that the order of .uns['leiden_colors'] might have changed.
Previously I had a set of codes to extract color codes from that attribute and save into a dictionary.
May I ask what's the proper way to extract color codes in the current version of Scanpy?

Thanks

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 file, test, or entry point is identified in the issue. Start by locating Scanpy’s current handling of .uns['leiden_colors'] and related category-color access, then define the supported public access path and verify the expected category-to-color mapping with documentation or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.