Re: [Matplotlib-users] Plotting histograms with zero counts

 Re: [Matplotlib-users] Plotting histograms with zero counts From: Manuel Metz - 2008-12-01 08:18:06 ```Yang Zhang wrote: > Hi, when I do: > > hist([0,0,0], bins=10, range=(0,10)) > > How come the single bin takes up the entire plot? Same with just two > values, or anything less than 10 - the two bars take up the entire plot, > no matter what I plug in for range. I'd just like 10 bins, from 0 to 9. That's a bug in the current implementation (see also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148). mm ```

 [Matplotlib-users] Plotting histograms with zero counts From: Yang Zhang - 2008-11-28 22:25:29 ```Hi, when I do: hist([0,0,0], bins=10, range=(0,10)) How come the single bin takes up the entire plot? Same with just two values, or anything less than 10 - the two bars take up the entire plot, no matter what I plug in for range. I'd just like 10 bins, from 0 to 9. -- Yang Zhang http://www.mit.edu/~y_z/ ```
 Re: [Matplotlib-users] Plotting histograms with zero counts From: Manuel Metz - 2008-12-01 08:18:06 ```Yang Zhang wrote: > Hi, when I do: > > hist([0,0,0], bins=10, range=(0,10)) > > How come the single bin takes up the entire plot? Same with just two > values, or anything less than 10 - the two bars take up the entire plot, > no matter what I plug in for range. I'd just like 10 bins, from 0 to 9. That's a bug in the current implementation (see also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148). mm ```
 Re: [Matplotlib-users] Plotting histograms with zero counts From: Manuel Metz - 2008-12-01 12:49:23 ```Manuel Metz wrote: > Yang Zhang wrote: >> Hi, when I do: >> >> hist([0,0,0], bins=10, range=(0,10)) >> >> How come the single bin takes up the entire plot? Same with just two >> values, or anything less than 10 - the two bars take up the entire plot, >> no matter what I plug in for range. I'd just like 10 bins, from 0 to 9. > > That's a bug in the current implementation (see also > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503148). This is fixed now on the trunk. mm ```

No, thanks