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

FIX: fix second error line drawing codepath#5401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
WeatherGod merged 1 commit intomatplotlib:v1.5.xfromtacaswell:fix_errorlabel
Nov 4, 2015

Conversation

tacaswell
Copy link
Member

Now thatplot knows how to dig into pandas Series to extract
a label, make sure all internal calls toplot inerrorbar pass
label='_nolegend_'.

Closes#5393

This is a minimal fix without tests, errorbar needs some more general attention.

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_'`.Closesmatplotlib#5393
@tacaswelltacaswell added this to theNext bugfix release (1.5.1) milestoneNov 4, 2015
@WeatherGod
Copy link
Member

You need to pop off the label from kwargs first in order to prevent duplicate kwarg entries.

@tacaswell
Copy link
MemberAuthor

That is done way at the top, seehttps://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes/_axes.py#L2789

The two major over-hauls that need to happen in errorbar are a) use z-order to specify above/below so we only have one code path there b) promote containers to full artists so that theLine2D objects don't end up in thelines attribute and effectively in the legend (but not draw!) search path twice.

@WeatherGod
Copy link
Member

Ah, ok. This makes sense to me as a good stop-gap solution.

WeatherGod added a commit that referenced this pull requestNov 4, 2015
FIX: fix second error line drawing codepath
@WeatherGodWeatherGod merged commite6c6c00 intomatplotlib:v1.5.xNov 4, 2015
@tacaswelltacaswell deleted the fix_errorlabel branchNovember 4, 2015 19:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v1.5.1
Development

Successfully merging this pull request may close these issues.

2 participants
@tacaswell@WeatherGod

[8]ページ先頭

©2009-2025 Movatter.jp