-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: boxplot does not set limits of axis #5517
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
Comments
Attaching the image did not work as I expected. The image is here: |
Note that it also works when you comment both EDIT: It's not really a pandas bug (but could maybe solved in pandas), but it also happens if you do it yourself manually in matplotlib. Due to the shared axes, there goes something wrong with the limits when there is an empty subplot. |
It seems this should be fixed in matplotlib master: matplotlib/matplotlib#2356 and matplotlib/matplotlib#2357 |
I can confirm that this is fixed in matplotlib master. |
is this still a bug? or just in matplotlib? anything to do? |
It's a bug in matplotlib, which it is fixed in matplotlib master, and not a real pandas bug. But it would be possible to workaround it in pandas (as it produces a wrong boxplot by only using pandas code). But I do not know how easy and/or necessary this would be. |
ok....prob by the time 0.14 comes out, will just close this |
DataFrame.boxplot
fails to properly set the limits of the y-axis is this example:I would expect the y-axis to go from 0 to 1, not -0.06 to 0.06.
If I uncomment the
M
it works.I use pandas 0.12.0 and matplotlib 1.3.1
The text was updated successfully, but these errors were encountered: