[SciPy-Dev] interp2d bounds checking

Nathaniel Smith njs@pobox....
Fri Jul 6 14:28:21 CDT 2012

On Fri, Jul 6, 2012 at 7:51 PM, Pauli Virtanen <pav@iki.fi> wrote:
> 06.07.2012 18:19, Ralf Gommers kirjoitti:
>> On Sun, Jul 1, 2012 at 8:40 PM, Pauli Virtanen wrote:
> [clip]
>>     I've also been thinking about enlarging the griddata syntax from the
>>     possibly somewhat unfriendly
>>             griddata((x, y), z, (xi, yi), **kw)
>>             griddata((x, y, z), u, (xi, yi, zi), **kw)
>>     to the variable argument one
>>             griddata(x, y, z, xi, yi, **kw)
>>             griddata(x, y, z, u, xi, yi, zi, **kw)
>>     which may be more familiar to users. Thoughts?
>> That does look easier to use, but having two interfaces will be
>> confusing. And deprecating the old one will be painful. What exactly do
>> you have in mind to do here?
> I was thinking about making the latter syntax an alias for the former,
> keeping both around. But perhaps it's confusing.

If I had the option I'd use the former ("old") syntax, but then, I'm weird.


More information about the SciPy-Dev mailing list