Here is what happens:
import numpy
numpy.__version__
'0.9.5'
numpy.ndarray([1])/0.0
array([ 1.#INF0000e+000])
Well, it is numpy 0.9.5, but the problem could be numpy 0.9.5 on Windows.
Thanks.
Sturla Molden
···
>
"C:\Python24\Lib\site-packages\matplotlib\numerix\_nc_imports.py",
> line 25, in ? inf = infty = infinity = Infinity =
> (array([1])/0.0)[0] TypeError: unsupported operand type(s)
> for /: 'numpy.ndarray' and 'float'
>>>>Are you sure about your numpy version? I am not seeing this on linux
In [1]: import numpy
In [4]: numpy.__version__
Out[4]: '0.9.5'In [3]: numpy.ndarray([1])/0.0
Out[3]: array([ -inf])Could you run these commands on your system?
JDH