Skip to content

MNT: Move all Colormap extremes setter logic into a single _set_extremes()#30577

Merged
timhoffm merged 2 commits intomatplotlib:mainfrom
timhoffm:colormap-refactor
Sep 18, 2025
Merged

MNT: Move all Colormap extremes setter logic into a single _set_extremes()#30577
timhoffm merged 2 commits intomatplotlib:mainfrom
timhoffm:colormap-refactor

Conversation

@timhoffm
Copy link
Copy Markdown
Member

@timhoffm timhoffm commented Sep 17, 2025

A refactoring pulled out of #30531, because it's a standalone change that can be reviewed simple on its own. This will make the deprecation in #30531, and in particular handling of it in our test suite much simpler.

The behavior is 100% percent backward compatible as far as public API and behavior is concerned.

Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@timhoffm timhoffm merged commit 554b9c5 into matplotlib:main Sep 18, 2025
36 of 37 checks passed
@timhoffm timhoffm deleted the colormap-refactor branch September 18, 2025 05:20
@QuLogic QuLogic added this to the v3.11.0 milestone Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants