Skip to content

Commit f9a7217

Browse files
committed
Copy errorbar style normalization to 3D.
1 parent 4461712 commit f9a7217

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,14 +3136,13 @@ def errorbar(self, x, y, z, zerr=None, yerr=None, xerr=None, fmt='',
31363136
if ecolor is None:
31373137
ecolor = base_style['color']
31383138

3139-
# Eject any marker information from line format string, as it's not
3139+
# Eject any line-specific information from format string, as it's not
31403140
# needed for bars or caps.
3141-
base_style.pop('marker', None)
3142-
base_style.pop('markersize', None)
3143-
base_style.pop('markerfacecolor', None)
3144-
base_style.pop('markeredgewidth', None)
3145-
base_style.pop('markeredgecolor', None)
3146-
base_style.pop('linestyle', None)
3141+
for key in ['marker', 'markersize', 'markerfacecolor',
3142+
'markeredgewidth', 'markeredgecolor', 'markevery',
3143+
'linestyle', 'fillstyle', 'drawstyle', 'dash_capstyle',
3144+
'dash_joinstyle', 'solid_capstyle', 'solid_joinstyle']:
3145+
base_style.pop(key, None)
31473146

31483147
# Make the style dict for the line collections (the bars).
31493148
eb_lines_style = {**base_style, 'color': ecolor}

0 commit comments

Comments
 (0)