hist() with log and step

Hi,

The autoscaling might need a small fix for

hist(rand(100),bins=20,histtype="step",log=1)

Cheers,
Olle

2010/6/15 Olle EngdegÄrd <oengdegard@...149...>:

The autoscaling might need a small fix for

hist(rand(100),bins=20,histtype="step",log=1)

I just had a look at trunk (8623), and the lower y-limit looks good
now. The above problem was at rev 8475.

But an old, different, bug has turned up instead: Using "stepfilled"
you get a diagonal lower boundary:

a=[3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6]
hist(a, range=(0,10), bins=10, histtype="stepfilled", log=True)

Cheers,
Olle