-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
add docstring to ax.quiver #19566
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
add docstring to ax.quiver #19566
Conversation
Ah, this PR replaces #19562. Copying my comment from that PR #19562 (comment): @K-Monty Sorry for the slow response. This did not work because in matplotlib/lib/matplotlib/axes/_axes.py Line 5100 in a510e32
fun.__doc__ attribute directly which overrides the one you added in this PR! If you are still interested in working on this you need to edit the string in mquiver.Quiver.quiver_doc
|
@tacaswell Thanks for your feedback! I forgot to remove that line (quiver.doc = mquiver.Quiver.quiver_doc ), but my original intention was to separate the documentation in mquiver.Quiver.quiver_doc and the one I edited, so that they are independent of each other (mquiver.Quiver.quiver_doc will still be without 'return'). |
Please edit the existing string. I think we use it in multiple places and want to keep them in sync with each other. |
Thanks @K-Monty! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again. |
Thanks a lot, guys! 😊 |
PR Summary
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).