File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ progress::
4545 >>> import numpy
4646 >>> print numpy.__version__
4747
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
4949requirement to use matplotlib, we strongly encourage you to install
5050`ipython <http://ipython.org>`_, which is an interactive
5151shell for python that is matplotlib-aware.
@@ -182,7 +182,7 @@ libraries themselves.
182182:term:`python` 2.4 (or later but not python3)
183183 matplotlib requires python 2.4 or later (`download <http://www.python.org/download/>`__)
184184
185- :term:`numpy` 1.1 (or later)
185+ :term:`numpy` 1.4 (or later)
186186 array support for python (`download
187187 <http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103>`__)
188188
Original file line number Diff line number Diff line change 152152
153153import numpy
154154nmajor , 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 )):
156156 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__ )
158158
159159def is_string_like (obj ):
160160 if hasattr (obj , 'shape' ): return 0
Original file line number Diff line number Diff line change @@ -546,13 +546,13 @@ def check_for_numpy():
546546 import numpy
547547 except ImportError :
548548 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." )
550550 return False
551551 nn = numpy .__version__ .split ('.' )
552552 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 ):
554554 print_message (
555- 'numpy 1.1 or later is required; you have %s' %
555+ 'numpy 1.4 or later is required; you have %s' %
556556 numpy .__version__ )
557557 return False
558558 module = Extension ('test' , [])
You can’t perform that action at this time.
0 commit comments