Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
DataFrame.hist does not honor sharex or sharey set to True #4089
Comments
|
so the issue is that using |
|
@fonnesbeck thanks. pr coming |
cpcloud
was assigned
Jul 1, 2013
cpcloud
closed this
in #4091
Jul 1, 2013
fonnesbeck
commented
Jul 1, 2013
|
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 |
fonnesbeck
commented
Jul 1, 2013
|
It fails at
|
|
is this from master? i fixed that a few commits ago. that had to with not closing plots |
fonnesbeck
commented
Jul 1, 2013
|
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 |
fonnesbeck
commented
Jul 1, 2013
|
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. |
fonnesbeck commentedJun 30, 2013
Here is an example of the
histmethod called as a multi-panel plot via thebyargument, withsharey=Trueandsharex=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).