Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Userepr in error message Addresses #21959#24403
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you for opening your first PR into Matplotlib!
If you have not heard from us in a while, please feel free to ping@matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.
You can also join uson gitter for real-time discussion.
For details on testing, writing docs, and our review process, please seethe developer guide
We strive to be a welcoming and open project. Please follow ourCode of Conduct.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
QuLogic commentedNov 10, 2022
Do you mind if I squash merge this PR, or would you like to? |
jefromyers commentedNov 10, 2022
feel free to squash, sir. thanks for your help. |
QuLogic commentedNov 10, 2022
Thanks@jefromyers! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again. |
* use repr in error messageclosesmatplotlib#21959* add test for repr error message* fix formatting* clean up formatting and naming* add `pragma: no cover`* remove import and function name a bit more explicit
Implements the proposed solution in issue#21959. Error message now outputs the user’s input via
repr.Tests and Styling
pytestpasses).flake8-docstringsand runflake8 --docstring-convention=all).Documentation
Release Notes
.. versionadded::directive in the docstring and documented indoc/users/next_whats_new/.. versionchanged::directive in the docstring and documented indoc/api/next_api_changes/next_whats_new/README.rstornext_api_changes/README.rst