-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Axes doc updates #10599
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
Axes doc updates #10599
Conversation
40a86e5
to
0f1089c
Compare
@@ -4782,41 +4786,38 @@ def arrow(self, x, y, dx, dy, **kwargs): | |||
""" | |||
Add an arrow to the axes. | |||
|
|||
Draws arrow on specified axis from (`x`, `y`) to (`x` + `dx`, |
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.
One of these changes is causing:
Warning, treated as error:
/home/circleci/project/lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes.Axes.arrow:31:Block quote ends without a blank line; unexpected unindent.
Makefile:20: recipe for target 'html' failed
@@ -3525,6 +3525,10 @@ def boxplot(self, x, notch=None, sym=None, vert=None, whis=None, | |||
|
|||
- ``means``: points or lines representing the means. | |||
|
|||
Notes | |||
----- | |||
.. [Notes section required for data comment. See #10189.] |
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.
I'm guessing this is the source of the problem.
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.
No, it was an indented %(FancyArrow)s
. For now, I've unindented it again, which messes up the Other Parameters section, but at least builds. Might be fixed with #10364.
b6e89c6
to
0cb3061
Compare
lib/matplotlib/axes/_axes.py
Outdated
@@ -4782,41 +4786,38 @@ def arrow(self, x, y, dx, dy, **kwargs): | |||
""" | |||
Add an arrow to the axes. | |||
|
|||
Draws arrow on specified axis from (`x`, `y`) to (`x` + `dx`, | |||
`y` + `dy`). Uses FancyArrow patch to construct the arrow. | |||
This draws an arrow from (`x`, `y`) to (`x+dx`, `y+dy`). |
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.
double quotes outside, or asterisks inside...
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.
one markup element could be fixed but it's not a regression and the rest is an improvement
0cb3061
to
0fbc50c
Compare
Backport PR #10599 on branch v2.2.x
PR Summary
Some more docstring updates: