Re: [Matplotlib-users] Problem formatting a 'step' histogram with a log scale and empty bins.

2010-01-31 Thread Eric Firing
b9o2jnbm tsd71eam wrote:
> 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?

It works for me using svn, and the problem sounds familiar, so I think 
this is a bug that was fixed.

Eric


--
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


[Matplotlib-users] Problem formatting a 'step' histogram with a log scale and empty bins.

2010-01-31 Thread b9o2jnbm tsd71eam
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!
<><>--
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