Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac4e0a0

Browse filesBrowse 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
Copy full SHA for ac4e0a0

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎lib/matplotlib/axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes.py
+4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.