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

Skip to content

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

Merged
merged 3 commits into from
Mar 4, 2018
Merged

Axes doc updates #10599

merged 3 commits into from
Mar 4, 2018

Conversation

timhoffm
Copy link
Member

PR Summary

Some more docstring updates:

  • ax/hvlines() and axh/vspan()
  • boxplot()
  • text / annotate methods.

@tacaswell tacaswell added this to the v2.2.0 milestone Feb 25, 2018
@@ -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`,
Copy link
Member

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.]
Copy link
Contributor

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.

Copy link
Member Author

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.

@tacaswell tacaswell modified the milestones: v2.2.0, v2.2.1 Feb 26, 2018
@timhoffm timhoffm force-pushed the axes-doc-updates branch 2 times, most recently from b6e89c6 to 0cb3061 Compare February 27, 2018 00:56
@@ -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`).
Copy link
Contributor

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...

Copy link
Contributor

@anntzer anntzer left a 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

@jklymak jklymak merged commit 65ddd82 into matplotlib:master Mar 4, 2018
lumberbot-app bot pushed a commit that referenced this pull request Mar 4, 2018
anntzer added a commit that referenced this pull request Mar 4, 2018
@timhoffm timhoffm deleted the axes-doc-updates branch March 4, 2018 10:37
@QuLogic QuLogic modified the milestones: v2.2.1, v2.2.0 Mar 4, 2018
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.

7 participants