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

Skip to content

Commit 7e91aa7

Browse files
committed
Merge pull request #1743 from tacaswell/errorbar_doc_tweak
slight tweak to the documentation of `errorbar`
2 parents 4df78fa + 184b254 commit 7e91aa7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/axes.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5320,11 +5320,12 @@ def errorbar(self, x, y, yerr=None, xerr=None,
53205320
Optional keyword arguments:
53215321
53225322
*xerr*/*yerr*: [ scalar | N, Nx1, or 2xN array-like ]
5323-
If a scalar number, len(N) array-like object, or an Nx1 array-like
5324-
object, errorbars are drawn +/- value.
5323+
If a scalar number, len(N) array-like object, or an Nx1
5324+
array-like object, errorbars are drawn at +/-value relative
5325+
to the data.
53255326
5326-
If a sequence of shape 2xN, errorbars are drawn at -row1 and
5327-
+row2
5327+
If a sequence of shape 2xN, errorbars are drawn at -row1
5328+
and +row2 relative to the data.
53285329
53295330
*fmt*: '-'
53305331
The plot format symbol. If *fmt* is *None*, only the

0 commit comments

Comments
 (0)