-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DataFrame.hist does not honor sharex or sharey set to True #4089
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
so the issue is that using |
@fonnesbeck thanks. pr coming |
Sorry I did not get a chance to look at this last night. Unfortunately, though the update does cause the axes to be shared among the subplots, it seems to have introduced another bug: The histogram no longer appears in the plots. Here is the updated notebook. I have added additional plots showing that the histograms work with no sharing. When you use |
one issue is that the first axes is shared, so some of your data won't show up since it is outside of the range of those axes. however, there's an oddity there: why is it using those particular xaxis limits |
can you confirm that this works with the data generated in |
It fails at
|
is this from master? i fixed that a few commits ago. that had to with not closing plots |
Yes:
|
what the sha1? |
nvm i c that u have the latest since my test i there |
did u run with nosetests? if not can u try that? it looks like u ran the file as an executable with python. if that's not the issue then i can reopen, as it seems like it might be mac specific |
I get the following failures:
|
Strange. The second one should be calling assert almost equal maybe with a precision argument . I thought that was fixed by a previous commit. The first one I'm not sure but I ll look into it. |
Here is an example of the
hist
method called as a multi-panel plot via theby
argument, withsharey=True
andsharex=True
. As you can observe in the plot at the bottom of the notebook, neither the x nor the y axis is shared among the subplots.Running 0.11.1 on Python 2.7.2 (OS X 10.8.4).
The text was updated successfully, but these errors were encountered: