Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update axislines.py #27079

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update axislines.py #27079

wants to merge 1 commit into from

Conversation

Vinith11
Copy link

Removed _api.warn_deprecated("3.7", message="x=None is deprecated") and Replaced with raise ValueError("x=None is not supported")

PR summary

This PR, titled "Title of Your PR," addresses issue #26962. It [briefly describe why the change is necessary and what problem it solves]. It includes [summarize the main changes made in this PR].

PR checklist

Removed  _api.warn_deprecated("3.7", message="x=None is deprecated") and Replaced with raise ValueError("x=None is not supported")
_api.warn_deprecated(
"3.7", message=f"{loc=!r} is incompatible with "
"{nth_coord=}; support is deprecated since %(since)s")
raise ValueError("x=None is not supported")
Copy link
Member

Choose a reason for hiding this comment

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

Where did this error message come from? It seems unrelated to the checks that are guarding it, what is x?

I think the message should likely be f"{loc=!r} is incompatible with {nth_coord=}"

@Vinith11 Vinith11 closed this by deleting the head repository Oct 14, 2023
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.

[MNT]: Remove 3.7-deprecated API
2 participants