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_stacked_bars feature #137
Conversation
This should now be working and documented. It was more effort than I anticipated to get the order of the stacked bars and the legend to match my (latin alphabet-biased) expectations in both vertical and horizontal orientation. Writing extensive automated tests - although tricky - was very valuable! (Currently legend order is fixed to be lexicographic, but I've got a TODO to make it more configurable in the future...) Maybe you'd like to try it out with the following, @amitfenn: pip install https://github.com/jnothman/UpSetPlot/archive/stacked-bars.zip I'd appreciate feedback on API firendliness and docstring. |
Hi Joel, Also, I got this error when I am trying with your example (the titanic data), this could be resolved by wrapping
The error:
Best |
Thanks @yollct. This error is due to the recent release of Pandas 1.3.0. Downgrade pandas, or upgrade to 1.3.1 when it is released in coming days. See #141.
I don't understand this comment, or perhaps my documentation of If by : str
Column name within the dataframe for color coding the stacked bars,
containing discrete or categorical values. |
I'll merge this, but you should feel free to open further issues as you try it out, @yollct! |
Resolves #136, thanks @amitfenn and @yollct for the inspiration!
TODO:
{label: color}
for specification ofcolors