On Wednesday, June 20, 2012, Nicolas wrote:
I have installed successively basemap 1.0.3 and 1.0.4 on top of my EPD
7.3 (linux x86_64) running on a linux ubuntu 11.10.
archives downloaded from
My matplotlib version is 1.1.0 and I have checked that indeed the call
to mpl_toolkits.basemap returns the correct version (I have installed
successively 1.0.3 and then cleaned up and installed 1.0.4)
the traceback is
Traceback (most recent call last):
File "streamplot_demo.py", line 32, in <module>
line 3370, in streamplot
ret = ax.streamplot(x,y,u,v,*args,**kwargs)
AttributeError: 'AxesSubplot' object has no attribute 'streamplot'
the doc string for streamplot_demo.py (in the example folder of the
basemap1.0.4 sources) states that it requires the vectorplot scikit,
which I have installed but been unable to get working (complains about
missing lic_internal module ...)
what is confusing is that the entry for streamplot_demo in the README
(from basemap_1.0.4-examples) states that it "shows the new matplotlib
streamplot method to visualize wind fields"
Do I need to upgrade matplotlib to the development version ?
Yes. Streamplot hasn't been officially released yet. Maybe Basemap should check for the function first?