Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MNT: Pending-deprecate setting colormap extremes in-place#30531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

timhoffm
Copy link
Member

Per#29141 we have the long-term plan to make colormaps immutable. As a result, the in-place modifications have to be removed. We take this particularly slow with at least two minor releases of pending deprecation and two further releases of actual deprecations. As it's quite a common concept and migrating away will take time.

@timhoffmtimhoffmforce-pushed thedeprecate-cmap-extreme-setter branch from0ff2086 tob83c694CompareSeptember 8, 2025 21:20
@timhoffmtimhoffm changed the titleMNT: Pending-deprecate setting colormap extremesMNT: Pending-deprecate setting colormap extremes in-placeSep 8, 2025
@timhoffmtimhoffmforce-pushed thedeprecate-cmap-extreme-setter branch fromb83c694 toe2090f4CompareSeptember 8, 2025 21:23
@timhoffmtimhoffm mentioned this pull requestSep 8, 2025
8 tasks
@anntzer
Copy link
Contributor

CI is legitimately failing (in particular because with_extremes is currently implemented in terms of set_foo (on a copy)).

@timhoffm
Copy link
MemberAuthor

Some of the test failures due to the deprecation are difficult to manage with the current architectue. I've done a fefactoring in#30577 which will make this much simpler. Putting to draft until that is merged.

@timhoffmtimhoffm marked this pull request as draftSeptember 17, 2025 21:42
@QuLogicQuLogic self-requested a reviewSeptember 18, 2025 05:27
timhoffm added a commit to timhoffm/matplotlib that referenced this pull requestSep 18, 2025
Instead use the more modern ways to specify extremes during Colormapcreation or using `with_extremes()`This is in preparation of deprecating setters inmatplotlib#30531.
timhoffm added a commit to timhoffm/matplotlib that referenced this pull requestSep 18, 2025
Instead use the more modern ways to specify extremes during Colormapcreation or using `with_extremes()`This is in preparation of deprecating setters inmatplotlib#30531.
@timhoffmtimhoffmforce-pushed thedeprecate-cmap-extreme-setter branch frombf856a0 to07a46b2CompareSeptember 20, 2025 08:54
Permatplotlib#29141 we have the long-term plan to make colormaps immutable. As aresult, the in-place modifications have to be removed. We take thisparticularly slow with at least two minor releases of pendingdeprecation and two further releases of actual deprecations. As it'squite a common concept and migrating away will take time.
@timhoffmtimhoffmforce-pushed thedeprecate-cmap-extreme-setter branch from07a46b2 to224828fCompareSeptember 21, 2025 13:54
@timhoffmtimhoffm marked this pull request as ready for reviewSeptember 21, 2025 15:20
@timhoffmtimhoffm added this to thev3.11.0 milestoneSep 27, 2025
@QuLogicQuLogic merged commit56c18a4 intomatplotlib:mainOct 2, 2025
40 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@QuLogicQuLogicQuLogic approved these changes

@anntzeranntzeranntzer approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

v3.11.0

Development

Successfully merging this pull request may close these issues.

3 participants

@timhoffm@anntzer@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp