theislab / theislab/moscot

Make resolution of sankey strips a variable

Open
#527 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
216
Forks
16
Avg merge
16h 2m
Merged PRs (30d)
3

Description

To prevent low-quality results when plotting the interpolated colors in a Sankey diagram we should make the "stepsize" a variable (as opposed to 50) here

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 in src/moscot/plotting/_utils.py at the referenced line and inspect how the fixed stepsize of 50 is used when interpolating Sankey colors. Trace the plotting entry point that calls this utility to determine how the value should be exposed. Done means the Sankey strip resolution is configurable rather than fixed, addressing the low-quality color interpolation described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
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.