Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxy artist to Axes.fill_between[x] for label support (Issue #1341) #1346

Closed
wants to merge 1 commit into from
Closed

Conversation

ycopin
Copy link

@ycopin ycopin commented Oct 9, 2012

I guess the true problem in Issue #1341 is that Axes.fill_between[x] returns a PolyCollection which does not support labels.

@leejjoon
Copy link
Contributor

Thank you for the PR. Unfortunately, I don't think this is a good solution for the problem. I think it is best to implement a legend handler for the PolyCollection class (or for fill_between command).

The link below may give you some idea how legends are handled.

http://matplotlib.org/users/legend_guide.html#legend-of-complex-plots

Also, check out the errobar or box command (and corresponding handler routines) for actual implementation.

@ycopin
Copy link
Author

ycopin commented Oct 10, 2012

Thanks for the link, I'll look into it (time permitting).

@ycopin ycopin closed this Oct 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants