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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to