You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xarray/tests/test_plot.py::TestPlot::test_contourf_cmap_set_with_bad_under_over: PendingDeprecationWarning: The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
xarray/tests/test_plot.py::TestDiscreteColorMap::test_discrete_colormap_int_levels: PendingDeprecationWarning: The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
=========================== short test summary info ============================
FAILED properties/test_pandas_roundtrip.py::test_roundtrip_1d_pandas_extension_array[False-string] - assert <StringDtype(na_value=<NA>)> == <StringDtype(na_value=nan)>
+ where <StringDtype(na_value=<NA>)> = 0 a\n1 b\n2 c\nName: arr, dtype: string.dtype
+ and <StringDtype(na_value=nan)> = index\n0 a\n1 b\n2 c\nName: arr, dtype: str.dtype
Illviljan
changed the title
Switch to with_extremes, set_extremes is deprecated
Switch to cmap.with_extremes, cmap.set_extremes is deprecated
Oct 9, 2025
Illviljan
changed the title
Switch to cmap.with_extremes, cmap.set_extremes is deprecated
Switch to use cmap.with_extremes
Oct 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Colormaps are slowly becoming immutable, matplotlib/matplotlib#30531.
Fixes the upstream issues: