-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issues faceting violinplots / boxplots #177
Comments
There also seems to be some other problems with the locations of the labels, and the actual grouping of the data when faceting. While a single plot works as expected:
a FacetGrid with the same data will fail to group it or apply the labels where I expect them (one / two are switched):
And finally, inner='sticks' doesn't appear to actually draw any sticks when I've tried to use it, though 'points' is working properly. |
Yeah, basically the dilemma here is that I either have to break the API of voilinplot/boxplot or they don't get to work with |
I've also noticed that violinplots run into an This means I can't use it to compare a large collection of relatively sparse datasets that may or may not have a single "facet" with repeat values. Obviously it's not possible to actually calculate a KDE if there is 0 variation, but it would be nice if we could at least continue to plot the rest of the data without completely failing. I find violinplots with |
I am also running into the |
What version of seaborn do you have? I'm pretty sure I've fixed this. |
I have 0.5.0. |
I tried repeating your last post and I got the same thing you did. The problem I am having, and maybe it is actually something different, is if you have only have one value repeated. So |
Can you make a separate issue with a self-contained example so it's easier to keep track of? |
Closing with #410 |
I ran into a KeyError while attempting to facet a single violinplot into each plot of a FacetGrid.
Here is some short code that replicated the problem:
Supplying a second parameter ('groupby') results in the proper plots, even if there is only a single group.
I'd expect the single plot to simply work. Perhaps violinplot/boxplot is expecting a continuous index if given a dataframe?
The text was updated successfully, but these errors were encountered: