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

Skip to content

Change doc string for Axes.arrow() #13165

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

Merged
merged 2 commits into from
Jan 12, 2019
Merged

Conversation

DumbMachine
Copy link
Contributor

@DumbMachine DumbMachine commented Jan 12, 2019

Changed the string from "The x/y-coordinate of the arrow base" to "The x and y coordinates of the arrow base".

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Changed the string from "The x/y-coordinate of the arrow base" to "The x and y coordinates of the arrow base".
@@ -4795,7 +4795,7 @@ def arrow(self, x, y, dx, dy, **kwargs):
Parameters
----------
x, y : float
The x/y-coordinate of the arrow base.
The x and y coordinates of the arrow base.
dx, dy : float
The length of the arrow along x/y-direction.
Copy link
Member

Choose a reason for hiding this comment

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

If we remove x/y notation, please change this as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Would you recommend changing it in other places like here

changed "x/y" to "x and y"
@jklymak
Copy link
Member

jklymak commented Jan 12, 2019

Can we edit the title of this PR to something that doesnt reference source code line numbers? Otherwise looks great! Thanks.

@DumbMachine DumbMachine changed the title Changed doc string in line 4798. Change doc string in _axes.py Jan 12, 2019
@timhoffm timhoffm changed the title Change doc string in _axes.py Change doc string for Axes.arrow() Jan 12, 2019
@dstansby
Copy link
Member

👍 thanks a lot for the fix!

@dstansby dstansby merged commit 311e749 into matplotlib:master Jan 12, 2019
@dstansby dstansby added this to the v3.1 milestone Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants