Re: [Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Michael Droettboom
Darren Dale wrote: > On Wed, Apr 28, 2010 at 7:13 AM, Eric Emsellem wrote: > >> Hi >> >> I just downloaded numpy 2.0 and there is a test in the setupext.py of >> matplotlib >> which says: >> >> nn = numpy.__version__.split('.') >> if not (int(nn[0]) >= 1 and int(nn[1]) >= 1): >> >> Thi

Re: [Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Darren Dale
On Wed, Apr 28, 2010 at 7:13 AM, Eric Emsellem wrote: > Hi > > I just downloaded numpy 2.0 and there is a test in the setupext.py of > matplotlib > which says: > >     nn = numpy.__version__.split('.') >     if not (int(nn[0]) >= 1 and int(nn[1]) >= 1): > > This clearly does NOT work for numpy 2.

[Matplotlib-users] version of numpy for matplotlib: wrong test in setupext.py

2010-04-28 Thread Eric Emsellem
Hi I just downloaded numpy 2.0 and there is a test in the setupext.py of matplotlib which says: nn = numpy.__version__.split('.') if not (int(nn[0]) >= 1 and int(nn[1]) >= 1): This clearly does NOT work for numpy 2.0.0 since nn[1] is 0 Please change this. Eric -