Skip to content

Commit beb254a

Browse files
meeseeksmachinetimhoffm
authored andcommitted
Backport PR #12775: Add note to errorbar function about sign of errors (#12783)
1 parent 8a1770d commit beb254a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,6 +2949,8 @@ def errorbar(self, x, y, yerr=None, xerr=None,
29492949
upper errors.
29502950
- *None*: No errorbar.
29512951
2952+
Note that all error arrays should have *positive* values.
2953+
29522954
See :doc:`/gallery/statistics/errorbar_features`
29532955
for an example on the usage of ``xerr`` and ``yerr``.
29542956

0 commit comments

Comments
 (0)