hist(x,bins) is not properly autoscaled in y


I think there's an issue of axes autoscaling in y when plotting histograms with specified bins, eg.

from pylab import *

bins = linspace(-5,5,100)

hist(randn(1000), bins=bins,
      histtype='step', ec='r')
hist(randn(10000), bins=bins,
      histtype='step', ec='g')


Note that the y-axis is not properly autoscaled to handle the 2nd histogram. Could this be a regression after correction of Debian Bug #503148 ? (see http://www.mail-archive.com/matplotlib-devel@lists.sourceforge.net/msg04020.html)



    .~. Yannick COPIN (o:>* Doctus cum libro
    /V\ Institut de physique nucleaire de Lyon (IN2P3 - France)
   // \\ Tel: (33/0) 472 431 968 AIM: YnCopin ICQ: 236931013
  /( )\ http://snovae.in2p3.fr/ycopin/