On 6/20/12 5:50 PM, Nicolas wrote: > Thanks Ben > > so streamplot "will" be part of a future stable release of matplotlib > then ? one does not need the scikits.vectorplot installed ?
No, it does not. That's an error created by copy and pasting code from lic_demo.py. I should not have included that example in the release at all, since streamplot is not in the released version of matplotlib. -Jeff > > I will try and pull the latest development version of matplotlib and > install it (linux and mac os X), and then come back to the list to > give some feedbacks > > cheers > > Nico > > On 21 June 2012 11:37, Benjamin Root<ben.r...@ou.edu> wrote: >> >> On Wednesday, June 20, 2012, Nicolas wrote: >>> Hi all >>> >>> 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 >>> >>> http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.X/ >>> >>> 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> >>> >>> >>> m.streamplot(x,y,udat,vdat,color=speed,linewidth=2,density=2,cmap=plt.cm.spectral) >>> File >>> "/home/nicolasf/epd/lib/python2.7/site-packages/mpl_toolkits/basemap/__init__.py", >>> 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? >> >> Ben Root > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users