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: expire legend-related deprecations#29832

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
oscargus merged 1 commit intomatplotlib:mainfromrcomer:legend-deprecations
Mar 31, 2025

Conversation

rcomer
Copy link
Member

PR summary

Expire the deprecations from#27175 and#27767

PR checklist

"be discarded. This is deprecated since %(since)s and will "
"become an error in %(removal)s."))
raise ValueError("When passing handles and labels, they must both be "
"passed positionally or both as keywords.")
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Is there a better exception type thanValueError for this situation?

Copy link
Member

Choose a reason for hiding this comment

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

There's no really good match. I'm inclined to go with TypeError as that is used in other cases, when the signature is not fulfilled.

rcomer reacted with thumbs up emoji
@rcomer
Copy link
MemberAuthor

Rebased to pick up#29834

@oscargusoscargus merged commitade791f intomatplotlib:mainMar 31, 2025
41 checks passed
@rcomerrcomer deleted the legend-deprecations branchMarch 31, 2025 12:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

@oscargusoscargusoscargus 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
@rcomer@timhoffm@oscargus

[8]ページ先頭

©2009-2025 Movatter.jp