Permalink
Browse files

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
  • Loading branch information...
1 parent 38e4d00 commit ac4e0a0b36253d6145a9d6035d9e2ec9b1d1b0f5 @megies committed Jan 17, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/matplotlib/axes.py
View
@@ -5441,6 +5441,8 @@ def errorbar(self, x, y, yerr=None, xerr=None,
lines_kw['lw']=kwargs['lw']
if 'transform' in kwargs:
lines_kw['transform'] = kwargs['transform']
+ if 'alpha' in kwargs:
+ lines_kw['alpha'] = kwargs['alpha']
if 'zorder' in kwargs:
lines_kw['zorder'] = kwargs['zorder']
@@ -5491,6 +5493,8 @@ def xywhere(xs, ys, mask):
plot_kw['mew']=kwargs['mew']
if 'transform' in kwargs:
plot_kw['transform'] = kwargs['transform']
+ if 'alpha' in kwargs:
+ plot_kw['alpha'] = kwargs['alpha']
if 'zorder' in kwargs:
plot_kw['zorder'] = kwargs['zorder']

0 comments on commit ac4e0a0

Please sign in to comment.