Re: [Numpy-discussion] np.histogram: upper range bin

2011-06-12 Thread Peter Butterworth
Consistent bin width is important for my applications. With floating point numbers I usually shift my bins by a small offset to ensure values at bin edges always fall in the correct bin. With the current np.histogram behavior you _silently_ get a wrong count in the top bin if a value falls on the u

Re: [Numpy-discussion] time for numpy 1.6.1?

2011-06-12 Thread Mark Wiebe
On Sun, Jun 12, 2011 at 11:30 AM, Ralf Gommers wrote: > We've accumulated a reasonable amount of bug fixes in the 1.6.x branch, > including some for functionality new in 1.6.0 (iterator, f2py) and a > distutils regression. So I think it makes sense to do a bugfix release. Is > there anything urgen

Re: [Numpy-discussion] ndarray display in ipython

2011-06-12 Thread Chao YUE
Hi, Thank you. That's it! Chao 2011/6/12 gary ruben > You control this with numpy.set_printoptions: > > > http://docs.scipy.org/doc/numpy/reference/generated/numpy.set_printoptions.html > > On Sun, Jun 12, 2011 at 10:10 PM, Chao YUE wrote: > > Dear all pythoners, > > > > Does anybody know how

Re: [Numpy-discussion] Install error for numpy 1.6

2011-06-12 Thread Ralf Gommers
On Sun, Jun 12, 2011 at 9:00 PM, Laurent Gautier wrote: > Hi, > > I did not find the following problem reported. > > When trying to install Numpy 1.6 with Python 2.7.1+ (r271:86832), gcc > 4.5.2, and pip 1.0.1 (through a virtualenv 1.4.2 Python) it fails fails > with: > > File "/usr/lib/pyt

[Numpy-discussion] Install error for numpy 1.6

2011-06-12 Thread Laurent Gautier
Hi, I did not find the following problem reported. When trying to install Numpy 1.6 with Python 2.7.1+ (r271:86832), gcc 4.5.2, and pip 1.0.1 (through a virtualenv 1.4.2 Python) it fails fails with: File "/usr/lib/python2.7/distutils/command/config.py", line 103, in _check_compiler

Re: [Numpy-discussion] time for numpy 1.6.1?

2011-06-12 Thread Ralf Gommers
On Sun, Jun 12, 2011 at 6:51 PM, Charles R Harris wrote: > > > On Sun, Jun 12, 2011 at 10:30 AM, Ralf Gommers < > ralf.gomm...@googlemail.com> wrote: > >> We've accumulated a reasonable amount of bug fixes in the 1.6.x branch, >> including some for functionality new in 1.6.0 (iterator, f2py) and

Re: [Numpy-discussion] time for numpy 1.6.1?

2011-06-12 Thread Charles R Harris
On Sun, Jun 12, 2011 at 10:30 AM, Ralf Gommers wrote: > We've accumulated a reasonable amount of bug fixes in the 1.6.x branch, > including some for functionality new in 1.6.0 (iterator, f2py) and a > distutils regression. So I think it makes sense to do a bugfix release. Is > there anything urgen

[Numpy-discussion] time for numpy 1.6.1?

2011-06-12 Thread Ralf Gommers
We've accumulated a reasonable amount of bug fixes in the 1.6.x branch, including some for functionality new in 1.6.0 (iterator, f2py) and a distutils regression. So I think it makes sense to do a bugfix release. Is there anything urgent that should still go in? Otherwise I can tag an RC tomorrow.

Re: [Numpy-discussion] ndarray display in ipython

2011-06-12 Thread gary ruben
You control this with numpy.set_printoptions: http://docs.scipy.org/doc/numpy/reference/generated/numpy.set_printoptions.html On Sun, Jun 12, 2011 at 10:10 PM, Chao YUE wrote: > Dear all pythoners, > > Does anybody know how I can choose the default display style for the data? > like in the follo

Re: [Numpy-discussion] ndarray display in ipython

2011-06-12 Thread Lev Givon
Received from Chao YUE on Sun, Jun 12, 2011 at 08:10:41AM EDT: > Dear all pythoners, > > Does anybody know how I can choose the default display style for the data? > like in the following case, the data are display in a scientific notation if > they are ver small. > another question is, the displa

[Numpy-discussion] ANN: Spyder v2.0.12

2011-06-12 Thread Pierre Raybaut
Hi all, I am pleased to announced that Spyder v2.0.12 has just been released (changelog available here: http://code.google.com/p/spyderlib/wiki/ChangeLog). This is the last maintenance release of version 2.0, until the forthcoming v2.1 release which is scheduled for the end of the month (see the r

[Numpy-discussion] ndarray display in ipython

2011-06-12 Thread Chao YUE
Dear all pythoners, Does anybody know how I can choose the default display style for the data? like in the following case, the data are display in a scientific notation if they are ver small. another question is, the display fold the data in first row into several rows if there is still space on m

Re: [Numpy-discussion] numpy build: automatic fortran detection

2011-06-12 Thread Ralf Gommers
On Thu, Jun 9, 2011 at 11:46 PM, Russell E. Owen wrote: > What would it take to automatically detect which flavor of fortran to > use to build numpy on linux? > You want to figure out which compiler was used to build BLAS/LAPACK/ATLAS and check that the numpy build uses the same, right? Assuming

Re: [Numpy-discussion] code review for datetime arange

2011-06-12 Thread Ralf Gommers
On Fri, Jun 10, 2011 at 4:18 PM, Mark Wiebe wrote: > On Fri, Jun 10, 2011 at 12:56 AM, Ralf Gommers < > ralf.gomm...@googlemail.com> wrote: > >> >> Maybe I'm misunderstanding this, and once you make a function work for >> datetime it would also work for other new dtypes. But my impression is that