Skip to content

Commit 3a698d6

Browse files
author
Rasmus Diederichsen
committed
Add note to errorbar function about sign of errors
1 parent c62080b commit 3a698d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_axes.py

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

0 commit comments

Comments
 (0)