diff --git a/lib/matplotlib/axes.py b/lib/matplotlib/axes.py index 4d8bbb36d380..e09cb9fdae0b 100644 --- a/lib/matplotlib/axes.py +++ b/lib/matplotlib/axes.py @@ -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'] diff --git a/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.pdf b/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.pdf index 51d4f367e787..078388fe37fa 100644 Binary files a/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.pdf and b/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.pdf differ diff --git a/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.png b/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.png index 631313c9507c..4c0d78cd87a3 100644 Binary files a/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.png and b/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.png differ diff --git a/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.svg b/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.svg index 7d782fd0db29..171dfd0607fd 100644 --- a/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.svg +++ b/lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.svg @@ -1,7 +1,7 @@ - + - + - + - + - + - + - + - + - + +L0 -3" id="mbe4d45bd23" style="stroke:#0000ff;stroke-linecap:butt;stroke-width:0.5;"/> - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + @@ -1043,7 +1057,7 @@ M315.491 200.291 L315.491 43.2" style="fill:none;stroke:#000000;"/> - + + + + + + + - + @@ -1095,6 +1213,15 @@ z + + + + + + + + + @@ -1213,6 +1340,11 @@ L214.036 -159.94" id="C3_7_28f5b7da06"/> + + + @@ -1509,38 +1641,6 @@ L7.71875 -11.625 L11.7188 4 z " id="BitstreamVeraSans-Roman-2c"/> - @@ -2326,13 +2426,6 @@ L9.8125 0 z " id="BitstreamVeraSans-Roman-4d"/> -