Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6c6c00

Browse files
committed
Merge pull request #5401 from tacaswell/fix_errorlabel
FIX: fix second error line drawing codepath
2 parents 2e30dbe + 5a5d907 commit e6c6c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3008,7 +3008,7 @@ def xywhere(xs, ys, mask):
30083008
caplines.extend(self.plot(xup, yup, 'k_', **plot_kw))
30093009

30103010
if not barsabove and plot_line:
3011-
l0, = self.plot(x, y, fmt, **kwargs)
3011+
l0, = self.plot(x, y, fmt, label='_nolegend_', **kwargs)
30123012

30133013
if ecolor is None:
30143014
if l0 is None and 'color' in self._get_lines._prop_keys:

0 commit comments

Comments
 (0)