matplotlib / matplotlib/matplotlib
make_norm_from_scale should be public
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 23.2k
- Forks
- 8.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 66
Description
@anntzer made a great wrapper so that a Norm can be made from a scale. This functionality should be public, probably with a caveat that it is experimental. Most people who are up for making a norm or a scale are going to be sophisticated enough to deal with any changes we make. If we leave it as a decorator, that makes it even more obscure...
https://github.com/matplotlib/matplotlib/blob/08f4629d918b60f5c8e0f35f6a24ecad43088752/lib/matplotlib/colors.py#L1435
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 at lib/matplotlib/colors.py around the linked make_norm_from_scale definition and inspect how the existing wrapper is exposed. Check nearby public API conventions and relevant color tests before deciding what experimental public exposure should mean. Done means the functionality is publicly accessible with its experimental status documented and the existing behavior remains covered.
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