scverse / scverse/scanpy

sc.pl.palettes.godsnot_64 18th colour invisible against white BG

Open
#740 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hey @fidelram !

I've noticed this quite often... the 18th colour in sc.pl.palettes.godsnot_64 is pretty much invisible against a white background. I otherwise consider this to be the best palette out there as it distinguishes cell clusters quite well. See "Progenitor Leukocyte" in the legend below.

image

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

Start at the sc.pl.palettes.godsnot_64 entry point and inspect how its colors are defined and used in plots with white backgrounds. Reproduce the palette with a legend containing at least 18 colors, then adjust the problematic color so the “Progenitor Leukocyte” entry is visible and verify the resulting plot.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.