Skip to content

fix: replace set_over with_extremes#562

Merged
jokasimr merged 4 commits into
mainfrom
set-over-deprecation
May 21, 2026
Merged

fix: replace set_over with_extremes#562
jokasimr merged 4 commits into
mainfrom
set-over-deprecation

Conversation

@jokasimr
Copy link
Copy Markdown
Contributor

@jokasimr jokasimr commented May 8, 2026

Fixes the nightly test failures here: https://github.com/scipp/plopp/actions/runs/25536713387/job/74953922444

I'm not sure this is exactly equivalent to the old implementation.
For example, in some cases we create new objects instead of mutating, I assumed that doesn't make a difference here, but maybe it does?

@jokasimr jokasimr requested a review from nvaytet May 8, 2026 07:30
@jl-wynen jl-wynen linked an issue May 19, 2026 that may be closed by this pull request
Comment thread src/plopp/graphics/colormapper.py Outdated
@@ -68,15 +70,19 @@ def _get_cmap(colormap: str | Colormap, nan_color: str | None = None) -> Colorma
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that because we now return new objects, we no longer need this copy here?

@jokasimr jokasimr enabled auto-merge May 21, 2026 11:10
@jokasimr jokasimr merged commit 6ed7e02 into main May 21, 2026
6 checks passed
@jokasimr jokasimr deleted the set-over-deprecation branch May 21, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

set_over in matplotlib is being deprecated

2 participants