natgrid

Hi all,

I would like to be able to use matplotlib.mlab.griddata(x, y, z, xi, yi, interp='nn?) using natural neighbor interpolation. To do so we need to install the mpl_toolkits.natgrid module
(http://matplotlib.org/api/mlab_api.html#matplotlib.mlab.griddata)

However I have not found any tutorial to help me properly install the mpl_toolkits.natgrid module (https://github.com/matplotlib/natgrid).
I am used to "conda install" and "pip install" and would like to know if anyone could give me some directions for properly installing this module. (I know this request may sounds crazy for some of you since it is basics)

thanks in advance
Eric

mac osX 10.9.5
Python 2.7.10 |Anaconda 2.0.1 (x86_64)|

[GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Matplotlib 1.4.3

Hi Eric,

in general, if a python package provides a properly written setup.py you
can install it from sources with:

    $ pip install .

from within the source directory.

Hope this helps,
Antonio

···

On Thu, Nov 5, 2015 at 2:00 AM, Eric Gayer <egayer at gmail.com> wrote:

Hi all,

I would like to be able to use matplotlib.mlab.griddata(x, y, z, xi, yi,
interp='nn?) using natural neighbor interpolation. To do so we need to
install the mpl_toolkits.natgrid module
(http://matplotlib.org/api/mlab_api.html#matplotlib.mlab.griddata)

However I have not found any tutorial to help me properly install the
mpl_toolkits.natgrid module (https://github.com/matplotlib/natgrid).
I am used to "conda install" and "pip install" and would like to know if
anyone could give me some directions for properly installing this module.
(I know this request may sounds crazy for some of you since it is basics)

thanks in advance
Eric

mac osX 10.9.5
Python 2.7.10 |Anaconda 2.0.1 (x86_64)|

[GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Matplotlib 1.4.3
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151105/5932b2d1/attachment.html>

Dear Antonino,
Thanks for your help, i was not sure if typing :

python setup.py install

would work, especially because I was not sure if setup.py would find the anaconda distribution.
I will try your way

Thanks again
Eric

···

On Nov 5, 2015, at 6:31 PM, Antonino Ingargiola <tritemio at gmail.com> wrote:

Hi Eric,

in general, if a python package provides a properly written setup.py you can install it from sources with:

    $ pip install .

from within the source directory.

Hope this helps,
Antonio

On Thu, Nov 5, 2015 at 2:00 AM, Eric Gayer <egayer at gmail.com> wrote:
Hi all,

I would like to be able to use matplotlib.mlab.griddata(x, y, z, xi, yi, interp='nn?) using natural neighbor interpolation. To do so we need to install the mpl_toolkits.natgrid module
(http://matplotlib.org/api/mlab_api.html#matplotlib.mlab.griddata)

However I have not found any tutorial to help me properly install the mpl_toolkits.natgrid module (https://github.com/matplotlib/natgrid).
I am used to "conda install" and "pip install" and would like to know if anyone could give me some directions for properly installing this module. (I know this request may sounds crazy for some of you since it is basics)

thanks in advance
Eric

mac osX 10.9.5
Python 2.7.10 |Anaconda 2.0.1 (x86_64)|

[GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Matplotlib 1.4.3
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151105/83fd1342/attachment.html>

I was not sure if setup.py would find the anaconda distribution

It finds the first python on your path. So activate your environment before
running,

···

On Thu, Nov 5, 2015 at 12:30 PM, Eric Gayer <egayer at gmail.com> wrote:

Dear Antonino,
Thanks for your help, i was not sure if typing :

python setup.py install

would work, especially because I was not sure if setup.py would find the
anaconda distribution.
I will try your way

Thanks again
Eric

On Nov 5, 2015, at 6:31 PM, Antonino Ingargiola <tritemio at gmail.com> > wrote:

Hi Eric,

in general, if a python package provides a properly written setup.py you
can install it from sources with:

    $ pip install .

from within the source directory.

Hope this helps,
Antonio

On Thu, Nov 5, 2015 at 2:00 AM, Eric Gayer <egayer at gmail.com> wrote:

Hi all,

I would like to be able to use matplotlib.mlab.griddata(x, y, z, xi, yi,
interp='nn?) using natural neighbor interpolation. To do so we need to
install the mpl_toolkits.natgrid module
(http://matplotlib.org/api/mlab_api.html#matplotlib.mlab.griddata)

However I have not found any tutorial to help me properly install the
mpl_toolkits.natgrid module (https://github.com/matplotlib/natgrid).
I am used to "conda install" and "pip install" and would like to know if
anyone could give me some directions for properly installing this module.
(I know this request may sounds crazy for some of you since it is basics)

thanks in advance
Eric

mac osX 10.9.5
Python 2.7.10 |Anaconda 2.0.1 (x86_64)|

[GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Matplotlib 1.4.3
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151107/bb02aa37/attachment.html>