Skip to content

Fix documentation for xerr and yerr arguments in _axes.py #11160

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

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1873,7 +1873,9 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",

- scalar: symmetric +/- values for all bars
- shape(N,): symmetric +/- values for each bar
- shape(2,N): separate + and - values for each bar
- shape(2,N): separate +/- values for each bar,
the first row contains the - value,
the second row contains the + value.

Default: None

Expand Down Expand Up @@ -2148,7 +2150,9 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",

- scalar: symmetric +/- values for all bars
- shape(N,): symmetric +/- values for each bar
- shape(2,N): separate + and - values for each bar
- shape(2,N): separate +/- values for each bar,
the first row contains the - value,
the second row contains the + value.

Default: None

Expand Down Expand Up @@ -2671,7 +2675,9 @@ def errorbar(self, x, y, yerr=None, xerr=None,

- scalar: Symmetric +/- values for all data points.
- shape(N,): Symmetric +/-values for each data point.
- shape(2,N): Separate + and - values for each data point.
- shape(2,N): Separate +/- values for each bar,
the first row contains the - value,
the second row contains the + value.
- *None*: No errorbar.

fmt : plot format string, optional, default: ''
Expand Down