[wxPython-users] Re: Recommend a plotting library?

Christopher Barker Chris.Barker at noaa.gov
Wed Apr 11 14:57:50 PDT 2007


Grant Edwards wrote:
> No, it's 700 vectors, where each vector is a pair of tuples:
> 
> axes.plot([(x1,x2),(y1,y2),  (x3,x3),(y4,y4), ... (x1399,y1399),(x1400,y1400)])
>             \___________/     \___________/        \_______________________/
>               vector #1         vector #2     ...          vector #700            

yup, that explains it!

> I'm still not sure why it's packing up 3.3MB of tcl and tk
> source files (including demos).  I presume it's because
> matplotlib has the ability to use tcl/tk?

yes. with the multiple back-ends, which one is used is determined at 
run-time, so py2exe has no way to know that you're not using it.

Andrea Gavana wrote:
> If you follow the suggestion I posted before, i.e.:
> 
> excludes = ["Tkconstants", "Tkinter", "tcl", '_gtkagg', '_tkagg']
> dll_excludes = ['libgdk-win32-2.0-0.dll', 'libgobject-2.0-0.dll',
> 'tcl84.dll', 'tk84.dll']

I'll need to try this with py2app too...

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list