Make resolution of sankey strips a variable
Open
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
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
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