File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ progress::
45
45
>>> import numpy
46
46
>>> print numpy.__version__
47
47
48
- matplotlib requires numpy version 1.1 or later. Although it is not a
48
+ matplotlib requires numpy version 1.4 or later. Although it is not a
49
49
requirement to use matplotlib, we strongly encourage you to install
50
50
`ipython <http://ipython.org>`_, which is an interactive
51
51
shell for python that is matplotlib-aware.
@@ -182,7 +182,7 @@ libraries themselves.
182
182
:term:`python` 2.4 (or later but not python3)
183
183
matplotlib requires python 2.4 or later (`download <http://www.python.org/download/>`__)
184
184
185
- :term:`numpy` 1.1 (or later)
185
+ :term:`numpy` 1.4 (or later)
186
186
array support for python (`download
187
187
<http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103>`__)
188
188
Original file line number Diff line number Diff line change 152
152
153
153
import numpy
154
154
nmajor , nminor = [int (n ) for n in numpy .__version__ .split ('.' )[:2 ]]
155
- if not (nmajor > 1 or (nmajor == 1 and nminor >= 1 )):
155
+ if not (nmajor > 1 or (nmajor == 1 and nminor >= 4 )):
156
156
raise ImportError (
157
- 'numpy 1.1 or later is required; you have %s' % numpy .__version__ )
157
+ 'numpy 1.4 or later is required; you have %s' % numpy .__version__ )
158
158
159
159
def is_string_like (obj ):
160
160
if hasattr (obj , 'shape' ): return 0
Original file line number Diff line number Diff line change @@ -546,13 +546,13 @@ def check_for_numpy():
546
546
import numpy
547
547
except ImportError :
548
548
print_status ("numpy" , "no" )
549
- print_message ("You must install numpy 1.1 or later to build matplotlib." )
549
+ print_message ("You must install numpy 1.4 or later to build matplotlib." )
550
550
return False
551
551
nn = numpy .__version__ .split ('.' )
552
552
if not (int (nn [0 ]) >= 1 and int (nn [1 ]) >= 1 ):
553
- if not (int (nn [0 ]) >= 2 ):
553
+ if not (int (nn [0 ]) >= 4 ):
554
554
print_message (
555
- 'numpy 1.1 or later is required; you have %s' %
555
+ 'numpy 1.4 or later is required; you have %s' %
556
556
numpy .__version__ )
557
557
return False
558
558
module = Extension ('test' , [])
You can’t perform that action at this time.
0 commit comments