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 e1f6464

Browse filesBrowse files
committed
Plot errorbars if fmt=='none'
1 parent 067f9b6 commit e1f6464
Copy full SHA for e1f6464

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-0
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2820,6 +2820,9 @@ def errorbar(self, x, y, yerr=None, xerr=None,
28202820
fmt_style_kwargs = {k: v for k, v in
28212821
zip(('linestyle', 'marker', 'color'),
28222822
_process_plot_format(fmt)) if v is not None}
2823+
if fmt == 'none':
2824+
# Remove alpha=0 color that _process_plot_format returns
2825+
fmt_style_kwargs.pop('color')
28232826

28242827
if ('color' in kwargs or 'color' in fmt_style_kwargs or
28252828
ecolor is not None):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.