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

Skip to content

Commit 9fd0233

Browse files
committed
fixed example to match behavior for two-tuple arguments
1 parent a6c6399 commit 9fd0233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3150,8 +3150,8 @@ def errorbar(self, x, y, yerr=None, xerr=None,
31503150
draws error bars on a subset of the data. *errorevery* =N draws
31513151
error bars on the points (x[::N], y[::N]).
31523152
*errorevery* =(start, N) draws error bars on the points
3153-
(x[start::N], y[start::N]). e.g. errorevery=(6,3)
3154-
adds error bars to the data at (x[3], x[9], x[15], x[21], ...).
3153+
(x[start::N], y[start::N]). e.g. errorevery=(6, 3)
3154+
adds error bars to the data at (x[6], x[9], x[12], x[15], ...).
31553155
Used to avoid overlapping error bars when two series share x-axis
31563156
values.
31573157

0 commit comments

Comments
 (0)