basemap in recent matplotlib

Hi,

  Trying out version 0.87.4 I noticed that the example given on
pages
http://matplotlib.sourceforge.net/screenshots/plotmap.py
and
http://scipy.org/Cookbook/Matplotlib/Maps
fail with :

In [1]: from matplotlib.toolkits.basemap import Basemap

···

---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)

/home/varoquau/<ipython console>

ImportError: No module named toolkits.basemap

    I had a quick look and couldn't find where basemap had gone. How
should these pages be modified ?

--
    Gaël

Gael Varoquaux wrote:

    Hi,

  Trying out version 0.87.4 I noticed that the example given on
pages http://matplotlib.sourceforge.net/screenshots/plotmap.py
and
http://scipy.org/Cookbook/Matplotlib/Maps
fail with :

In [1]: from matplotlib.toolkits.basemap import Basemap
---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)

/home/varoquau/<ipython console>

ImportError: No module named toolkits.basemap

    I had a quick look and couldn't find where basemap had gone. How
should these pages be modified ?

Gabriel: Basemap is a separate toolkit - it's not included in matplotlib. You can get it from the matplotlib sf project page.

-Jeff

···

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...236...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : Jeffrey S. Whitaker: NOAA Physical Sciences Laboratory