Hi,

The following program raises an AttributeError

file: testinterp2d.py
====
from scipy.interpolate.interpolate import interp2d
from numpy import *

X, Y = mgrid[0:3, 0:3]
Z = X * Y
ip = interp2d( X, Y, Z )
ip( 0.5, 0.5 )


====
# python testinterp2d.py
Traceback (most recent call last):
  File "testinterp2d.py", line 9, in ?
    ip( 0.5, 0.5 )
  File "/home/albert/local/lib/python2.4/site-packages/scipy/interpolate/interpolate.py", line 64, in __call__
    z,ier=fitpack._fitpack._bispev(*(self.tck+[x,y,dx,dy]))
AttributeError: interp2d instance has no attribute 'tck'

====
This is on scipy 0.4.8, numpy 0.9.6, Ubuntu 5.10, python 2.4

Am I not using interp2d correctly?

Thanks,
-albert