-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Reverse stackplot legend to match data display #25956
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
Conversation
This puts the legend key in the same order as the stacked data, with oceania at the top (near invisible), then europe, ..., with africa at the bottom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for opening your first PR into Matplotlib!
If you have not heard from us in a while, please feel free to ping @matplotlib/developers
or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.
You can also join us on gitter for real-time discussion.
For details on testing, writing docs, and our review process, please see the developer guide
We strive to be a welcoming and open project. Please follow our Code of Conduct.
Hi, really sorry I was too quick with my initial reply, this is great! |
I should have said this was using the new option in version 3.7 (a very handy addition) 😀 |
Thanks @peterjc! |
…956-on-v3.7.1-doc Backport PR #25956 on branch v3.7.1-doc (Reverse stackplot legend to match data display)
…956-on-v3.7.x Backport PR #25956 on branch v3.7.x (Reverse stackplot legend to match data display)
This puts the legend key in the same order as the stacked data, with oceania at the top (near invisible), then europe, ..., with africa at the bottom.
Before:

After:

PR summary
PR checklist