has2k1 / has2k1/plotnine

Missing feature: `scale_colour_binned` and `scale_fill_binned`

Open
#680 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Next Major Release
Dominant language
Python
Stars
4.8k
Forks
254
Avg merge
10h 35m
Merged PRs (30d)
9

Description

As always, thanks for the amazing project!

I noticed a missing feature and thought it would be a good idea to report it here: support for binned scaled was added in https://github.com/tidyverse/ggplot2/pull/3096 and subsequently revamped. See https://github.com/tidyverse/ggplot2/blob/main/R/scale-colour.R

Contributor guide

No contributing guide indexed for this repository

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 with the referenced ggplot2 R/scale-colour.R file and PR #3096 to understand the expected binned-scale behavior, then locate the corresponding plotnine scale implementation. Done means plotnine supports both scale_colour_binned and scale_fill_binned consistently with that reference and the behavior is covered by relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.