[SciPy-user] meshgrid_errors
Karshi
karshi.hasanov at utoronto.ca
Sat Oct 5 01:49:05 EDT 2002
>>> from scipy import *
>>> mgrid[0:5,05]
Traceback (most recent call last):
File "<pyshell#16>", line 1, in ?
mgrid[0:5,05]
File "C:\PYTHON22\Lib\site-packages\scipy_base\index_tricks.py", line
53, in __getitem__
step = key[k].step
AttributeError: 'int' object has no attribute 'step'
>>> ogrid[0:5,0:5]
[array([[0],
[1],
[2],
[3],
[4]]), array([ [0, 1, 2, 3, 4]])]
>>>
More information about the SciPy-User
mailing list