8000 fix "alpha" kwarg in errorbar plot · matplotlib/matplotlib@ac4e0a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac4e0a0

Browse files
committed
fix "alpha" kwarg in errorbar plot
- this patch was rightly proposed by Hans Dembinski on the matplotlib devel mailing list but never incorporated it seems
1 parent 38e4d00 commit ac4e0a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/axes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5441,6 +5441,8 @@ def errorbar(self, x, y, yerr=None, xerr=None,
54415441
lines_kw['lw']=kwargs['lw']
54425442
if 'transform' in kwargs:
54435443
lines_kw['transform'] = kwargs['transform']
5444+
if 'alpha' in kwargs:
5445+
lines_kw['alpha'] = kwargs['alpha']
54445446
if 'zorder' in kwargs:
54455447
lines_kw['zorder'] = kwargs['zorder']
54465448

@@ -5491,6 +5493,8 @@ def xywhere(xs, ys, mask):
54915493
plot_kw['mew']=kwargs['mew']
54925494
if 'transform' in kwargs:
54935495
plot_kw['transform'] = kwargs['transform']
5496+
if 'alpha' in kwargs:
5497+
plot_kw['alpha'] = kwargs['alpha']
54945498
if 'zorder' in kwargs:
54955499
plot_kw['zorder'] = kwargs['zorder']
54965500

0 commit comments

Comments
 (0)
0