-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
ENH/BUG: boxplot now supports layout #7035
Conversation
I haven't attached sample data. Modified. |
rebase @TomAugspurger ok by u? |
But it looks like it was just a scaling issue. Setting an axes You may want to look into how the |
This is fine by me, pending that setting of the plot limits. |
Thanks to confirm. I misunderstood that you're referring to axes issue. Maybe limit issue is the same as #5517? Is there anything should be confirmed in this PR? |
My mistake. I have matplotlib 1.4 on that other environment. This PR is good! |
Merged via ebc4fed |
I kinda messed up the merge commit. I
in the history. @jreback is that OK? |
yeh it didn't presever the original one. no biggie though. |
@sinhrks FWIW seaborn handles these kinds of things almost trivially and allows for much prettier plots than pandas does. |
Closes #6769. Added
layout
kw toboxplot
. I think tests can be improved if boxplot can return ndarray with the same shape as layout, as the same manner as hist (maybe after #4472).Bug fix
It includes the fix to hide unnecessary axes than required in boxplot and hist. For example,
layout=(2, 2)
is specified for 3 subplots. I've listed affected cases as below.