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

Skip to content

Commit b1889d2

Browse files
committed
changed pyplot with boilerplate.py to be consistent with axes.py for errorbar()
1 parent fb119a1 commit b1889d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,15 +2237,15 @@ def csd(x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none, window=mlab.windo
22372237
# This function was autogenerated by boilerplate.py. Do not edit as
22382238
# changes will be lost
22392239
@autogen_docstring(Axes.errorbar)
2240-
def errorbar(x, y, yerr=None, xerr=None, fmt='-', ecolor=None, elinewidth=None, capsize=3, barsabove=False, lolims=False, uplims=False, xlolims=False, xuplims=False, hold=None, **kwargs):
2240+
def errorbar(x, y, yerr=None, xerr=None, fmt='-', ecolor=None, elinewidth=None, capsize=3, barsabove=False, lolims=False, uplims=False, xlolims=False, xuplims=False, errorevery=1, hold=None, **kwargs):
22412241
ax = gca()
22422242
# allow callers to override the hold state by passing hold=True|False
22432243
washold = ax.ishold()
22442244

22452245
if hold is not None:
22462246
ax.hold(hold)
22472247
try:
2248-
ret = ax.errorbar(x, y, yerr, xerr, fmt, ecolor, elinewidth, capsize, barsabove, lolims, uplims, xlolims, xuplims, **kwargs)
2248+
ret = ax.errorbar(x, y, yerr, xerr, fmt, ecolor, elinewidth, capsize, barsabove, lolims, uplims, xlolims, xuplims, errorevery, **kwargs)
22492249
draw_if_interactive()
22502250
finally:
22512251
ax.hold(washold)

0 commit comments

Comments
 (0)