Hi,
Combining "stepfilled" with log scale sometimes gives inappropriate plots:
a=[4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5]
hist(a, range=(0,10), bins=10, histtype="stepfilled", log=True)
The problem is not restricted to the case here with more bins than unique
elements, but sometimes reducing the bin number makes the issue go away.
Cheers,
Olle
|