MATLAB interp2 function in Python
===

I need a Python equivalent to the **interp2** MATLAB's function. I am trying to make this [MATLAB example][1] working in Python but I can't.

    import numpy as np
    
    from scipy.interpolate import interp2d
    from scipy.interpolate import RectBivariateSpline
    
    service = np.array(range(10, 31, 10))
    years = np.array(range(1950, 1991, 10))
    
    wage = np.array([[150.6970,199.5920,187.6250],
        [179.3230, 195.0720, 250.2870],
        [203.2120, 179.0920, 322.7670],
        [226.5050, 153.7060, 426.7300],
        [249.6330, 120.2810, 598.2430]])
    
    ip = RectBivariateSpline(years, service, wage)

    print(ip(15, 1975))

But I get this error which I can't solve: 

    dfitpack.error: (my>ky) failed for hidden my: regrid_smth:my=3


  [1]: http://www.mathworks.it/help/techdoc/ref/interp2.html
