-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Improve path.py
docstrings a bit
#20924
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
Conversation
@@ -109,7 +109,7 @@ def __init__(self, vertices, codes=None, _interpolation_steps=1, | |||
handled correctly by the Agg PathIterator and other consumers of | |||
path data, such as :meth:`iter_segments`. | |||
codes : array-like or None, optional | |||
n-length array integers representing the codes of the path. | |||
N-length array of integers representing the codes of the path. |
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.
Capitalized to match the number of rows in vertices
.
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove If these instruction are inaccurate, feel free to suggest an improvement. |
@meeseeksdev backport to v3.5.x The failure is simply that the previous backport was not merged yet. |
…924-on-v3.5.x Backport PR #20924 on branch v3.5.x (Improve `path.py` docstrings a bit)
PR Summary
This change fixes some wording in the
path.py
documentation, most substantively "vertex types" → "path codes". It is a follow-up to #20920 with some issues I noticed after that PR merged.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).