Skip to content

Commit ba418fd

Browse files
authored
Merge pull request #8139 from madphysicist/patch-1
DOC: Fixed x, y, docstring in errorbar
2 parents 7220afd + 652224c commit ba418fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,11 +2705,11 @@ def errorbar(self, x, y, yerr=None, xerr=None,
27052705
27062706
Parameters
27072707
----------
2708-
x : scalar
2709-
y : scalar
2708+
x : scalar or array-like
2709+
y : scalar or array-like
27102710
2711-
xerr/yerr : scalar or array-like, shape(n,1) or shape(2,n), optional
2712-
If a scalar number, len(N) array-like object, or an Nx1
2711+
xerr/yerr : scalar or array-like, shape(N,) or shape(2,N), optional
2712+
If a scalar number, len(N) array-like object, or a N-element
27132713
array-like object, errorbars are drawn at +/-value relative
27142714
to the data. Default is None.
27152715

0 commit comments

Comments
 (0)