We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from SO: http://stackoverflow.com/q/23301072/564538
I'm trying to print three pandas boxplots next to each other in iPython Notebook.
The dataframes each look basically like this:
sub cond accuracy s1 A 0.814868 s2 A 0.504574 s3 A 0.438314 s4 A 0.956235 s5 A 0.370771 s1 B 0.228724 s2 B 0.691374 s3 B 0.237314 s4 B 0.32633 s5 B 0.859961
When I plot accuracy without subsetting by condition, this works great:
fig, axes = plt.subplots(nrows=1, ncols=3) for i, df in enumerate([df1, df2, df3]): df.boxplot('accuracy',ax=axes[i])
However, when I try to plot accuracy by condition for each dataframe using instead:
df.boxplot('accuracy',by='cond',ax=axes[i])
only the last plot displays (and not where it should be according to its axes assignment).
This seems to be an issue ing the by=X argument.
by=X
The text was updated successfully, but these errors were encountered:
This is the issue: http://stackoverflow.com/q/23301072/564538, right?
Sorry, something went wrong.
Yes
Successfully merging a pull request may close this issue.
from SO: http://stackoverflow.com/q/23301072/564538
I'm trying to print three pandas boxplots next to each other in iPython Notebook.
The dataframes each look basically like this:
When I plot accuracy without subsetting by condition, this works great:
However, when I try to plot accuracy by condition for each dataframe using instead:
only the last plot displays (and not where it should be according to its axes assignment).
This seems to be an issue ing the
by=X
argument.The text was updated successfully, but these errors were encountered: