Hi!

I want to create a histogram with the step scale and I am finding
an inconstancy when using a log scale. I have a very simple example without
a log scale which works just as expected creating alternating bins with
value one and value zero.

from pylab import *
hist([0.5,2.5,4.5],bins=[0,1,2,3,4,5,6],histtype='step',log=False)
ylim(0.1,1.1)
show()

When I change the keyword log=False to log=True, the line connecting the
bins with value one to the bins with value zero disappear. Is there any way
I can get them to reaper? Is this a bug that should be fixed or is there a
workaround?

Thanks!

<<attachment: log.png>>

<<attachment: regular.png>>

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to