You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With that code the BrokenBarHCollection never gets displayed. However if I remove the ax.set_yscale('log') instructions things work perfect and the BrokenBarHCollection is displayed as expected.
I can reproduce this every time. Running python 2.7.3 on debian x64 7.8
The text was updated successfully, but these errors were encountered:
One of your bar edges is at 0 which (correctly) results in a -np.inf as the bottom edge of your bars. There are someplaces in the code which have 'clip' logic, but apparently not here (and in general, clipping is not the correct behavior as if 0 really is important, clipping it to what ever the bottom of your log-scale is is wrong).
Also, just FYI, I couldn't reproduce this when working on Windows (which is what lead me to believe it was a bug in the first place -- it works perfectly on Windows with ymin=0 so I guess it must clip).
I'm guessing the behavior was changed between whatever version the python-matplotlib package uses on debian vs the current 1.4.3 version. In any case, thanks again for your help
This is part of a more complex situation in my code but here is a simplified version of what i'm doing :
With that code the BrokenBarHCollection never gets displayed. However if I remove the
ax.set_yscale('log')
instructions things work perfect and the BrokenBarHCollection is displayed as expected.I can reproduce this every time. Running python 2.7.3 on debian x64 7.8
The text was updated successfully, but these errors were encountered: