-
-
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
hist(by=) breaks when the output does not fill all rows and columns #8256
Comments
pls post |
INSTALLED VERSIONScommit: None pandas: 0.14.1 |
Looks like the x and ylims aren't being set. Could you check those? I won't be able to look for a couple days. |
I think this is already fixed on master thanks to #8126. The original issue was #7528. On master I get: I think I only added a test case for boxplots though, so maybe we could add one for histograms?
|
Thanks for checking against master, @onesandzeroes. I'll test as well and then look into the test case. I've not looked at the Pandas code base, so I probably be a bit slow. But it will be a worthwhile exercise for me. |
I built and installed 0.14.1-430-g35a9527 and can confirm that the issue has been corrected. |
@CerebralMastication thanks for checking.! |
Example:
import pandas as pd
pd.Series(randn(1000)).hist(by=randint(0, 6, 1000), sharex=True, sharey=True)
pd.Series(randn(1000)).hist(by=randint(0, 5, 1000), sharex=True, sharey=True)
The text was updated successfully, but these errors were encountered: