Hi,
I'm a matplotlib N00b and I have
···
============
from pylab import *
multimap =
...
figure(1)
for index, key in enumerate( multimap.keys() ):
p = subplot(6, 5, index+1)
xlabel('intraclashes kcal')
ylabel('count')
p.axis([0,70,0,0.2])
vals = multimap[key]
#p.set_autoscale_on(False)
p.hist(vals , 20, normed=True, facecolor="red")
show()
===========
And depending on if I comment or uncomment the
#p.set_autoscale_on(False)
I get either variable axes ranges
http://people.binf.ku.dk/biehl/penelope/mpl_var_axes.png
or squished histogram bars
http://people.binf.ku.dk/biehl/penelope/mpl_fixed_axes.png
Is there a way to fix this?
Thanks,
Anders