Re: [Numpy-discussion] numpy histogram : Maybe a little error in the tutorial

2011-04-30 Thread Ralf Gommers
On Sat, Apr 30, 2011 at 8:54 AM, tonthon wrote: > Hi, > > I was followong the tutorial about numpy's basics and found a little > error here : > http://www.scipy.org/Tentative_NumPy_Tutorial#head-aa75ec76530ff51a2e98071adb7224a4b793519e > > (n, bins) = numpy.histogram(v, bins=50, normed=1)  # NumPy

[Numpy-discussion] numpy histogram : Maybe a little error in the tutorial

2011-04-29 Thread tonthon
Hi, I was followong the tutorial about numpy's basics and found a little error here : http://www.scipy.org/Tentative_NumPy_Tutorial#head-aa75ec76530ff51a2e98071adb7224a4b793519e (n, bins) = numpy.histogram(v, bins=50, normed=1) # NumPy version (no plot) should be : (n, bins) = numpy.histogram(