Repository navigation
Conversation
It has raised a FutureWarning since v2023.07.0 (pydata#7925) and has had no effect since v2022.10. Quiver and streamplot keep their hue_style. Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR partially addresses item 7 of #11721 by removing the deprecated
hue_styleargument from 1D line and scatter plots for both DataArray and Dataset.The argument has been deprecated since v2023.07.0 and no longer has any effect. Its related warning code has also been removed. The
hue_styleargument inquiverandstreamplotremains unchanged.The Breaking Changes section in
whats-new.rsthas been updated to explain the alternatives. Positional argument restrictions are not included in this PR.All 583 plotting tests passed, along with mypy and ruff checks.
Checklist
hue_styleonly)whats-new.rstAI Disclosure
Tools: Claude Code
Prompt: Remove the deprecated hue_style argument of the 1D plot functions (part of item 7 in Tracking: open deprecations #11721) and run the relevant tests and lint checks.