Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit5a5d907

Browse files
committed
FIX: fix second error line drawing codepath
Now that `plot` knows how to dig into pandas Series to extracta label, make sure all internal calls to `plot` in `errorbar` pass`label='_nolegend_'`.Closes#5393
1 parent1e4823b commit5a5d907

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
ifnotbarsaboveandplot_line:
3011-
l0,=self.plot(x,y,fmt,**kwargs)
3011+
l0,=self.plot(x,y,fmt,label='_nolegend_',**kwargs)
30123012

30133013
ifecolorisNone:
30143014
ifl0isNoneand'color'inself._get_lines._prop_keys:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp