Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
DOC: Updating docstring to numpy doc format for errorbar #7032
Conversation
mdboom
added the
needs_review
label
Sep 5, 2016
NelleV
commented on an outdated diff
Sep 5, 2016
| subsamples the errorbars. e.g., if errorevery=5, errorbars for | ||
| every 5-th datapoint will be plotted. The data plot itself still | ||
| shows all data points. | ||
| + Returns | ||
| + ------- | ||
| + plotline: :class:`~matplotlib.lines.Line2D` instance |
NelleV
Contributor
|
NelleV
commented on an outdated diff
Sep 5, 2016
| subsamples the errorbars. e.g., if errorevery=5, errorbars for | ||
| every 5-th datapoint will be plotted. The data plot itself still | ||
| shows all data points. | ||
| + Returns | ||
| + ------- | ||
| + plotline: :class:`~matplotlib.lines.Line2D` instance | ||
| + x, y plot markers and/or line | ||
| + caplines: | ||
| + list of error bar cap :class:`~matplotlib.lines.Line2D` instances |
|
|
NelleV
commented on an outdated diff
Sep 5, 2016
| subsamples the errorbars. e.g., if errorevery=5, errorbars for | ||
| every 5-th datapoint will be plotted. The data plot itself still | ||
| shows all data points. | ||
| + Returns | ||
| + ------- | ||
| + plotline: :class:`~matplotlib.lines.Line2D` instance | ||
| + x, y plot markers and/or line | ||
| + caplines: | ||
| + list of error bar cap :class:`~matplotlib.lines.Line2D` instances | ||
| + barlinecols: |
|
|
|
Hello, Thanks for the patch! /home/travis/build/matplotlib/matplotlib/lib/matplotlib/axes/_axes.py:2705:19: W291 trailing whitespace |
NelleV
commented on an outdated diff
Sep 5, 2016
| - *xerr*/*yerr*: [ scalar | N, Nx1, or 2xN array-like ] | ||
| + Parameters | ||
| + ---------- | ||
| + x : scalar |
NelleV
Contributor
|
NelleV
commented on an outdated diff
Sep 5, 2016
NelleV
commented on an outdated diff
Sep 5, 2016
| - *xerr*/*yerr*: [ scalar | N, Nx1, or 2xN array-like ] | ||
| + Parameters | ||
| + ---------- | ||
| + x : scalar | ||
| + y : scalar | ||
| + | ||
| + xerr/yerr : scalar or array-like, shape(n,1) or shape(2,n), optional, default: None |
NelleV
Contributor
|
NelleV
commented on an outdated diff
Sep 5, 2016
| subsamples the errorbars. e.g., if errorevery=5, errorbars for | ||
| every 5-th datapoint will be plotted. The data plot itself still | ||
| shows all data points. | ||
| + Returns | ||
| + ------- | ||
| + plotline: :class:`~matplotlib.lines.Line2D` instance | ||
| + x, y plot markers and/or line | ||
| + caplines: |
NelleV
Contributor
|
NelleV
commented on an outdated diff
Sep 5, 2016
| .. plot:: mpl_examples/statistics/errorbar_demo.py | ||
| - | ||
| + |
NelleV
Contributor
|
|
Apart from my comments, great job! |
|
There is also a slight problem of rendering: I am not sure what the problem is, but I'll look again once you update the PR with the changes. These might actually fix the rendering problem. |
QuLogic
added the
Documentation
label
Sep 6, 2016
QuLogic
commented on an outdated diff
Sep 6, 2016
| @@ -2691,78 +2691,84 @@ def errorbar(self, x, y, yerr=None, xerr=None, | ||
| barsabove=False, lolims=False, uplims=False, | ||
| xlolims=False, xuplims=False, errorevery=1, capthick=None, | ||
| **kwargs): | ||
| - """ | ||
| - Plot an errorbar graph. | ||
| - | ||
| - Call signature:: | ||
| - | ||
| - errorbar(x, y, yerr=None, xerr=None, | ||
| - fmt='', ecolor=None, elinewidth=None, capsize=None, | ||
| - barsabove=False, lolims=False, uplims=False, | ||
| - xlolims=False, xuplims=False, errorevery=1, | ||
| - capthick=None) | ||
| - | ||
| - Plot *x* versus *y* with error deltas in *yerr* and *xerr*. | ||
| - Vertical errorbars are plotted if *yerr* is not *None*. | ||
| - Horizontal errorbars are plotted if *xerr* is not *None*. | ||
| + """Plot an errorbar graph. |
QuLogic
Member
|
QuLogic
and 1 other
commented on an outdated diff
Sep 6, 2016
| - *x*, *y*, *xerr*, and *yerr* can all be scalars, which plots a | ||
| - single error bar at *x*, *y*. | ||
| + Plot x versus y with error deltas in yerr and xerr. |
QuLogic
Member
|
|
It appears you have not set the config for your git client. All your commits are attributed to "Your Name you@example.com", which is probably not what you want. |
QuLogic
commented on an outdated diff
Sep 6, 2016
daurer
and others
added some commits
Sep 5, 2016
NelleV
commented on an outdated diff
Sep 8, 2016
| + Examples | ||
| + ------- |
NelleV
Contributor
|
daurer
and others
added some commits
Sep 8, 2016
NelleV
changed the title from
[WIP] DOC: Updating docstring to numpy doc format for errorbar to [MRG+1] DOC: Updating docstring to numpy doc format for errorbar
Sep 14, 2016
tacaswell
merged commit 38be7ae
into matplotlib:master
Sep 14, 2016
tacaswell
removed the
needs_review
label
Sep 14, 2016
tacaswell
added a commit
that referenced
this pull request
Sep 14, 2016
|
|
tacaswell |
55d7a4f
|

Seraf69 commentedSep 5, 2016
Hi matplotlib contributor,
we updated the docstring of errorbar to the numpy doc format. @NelleV
Thanks for your patience,
Benedikt and Seraphin