Hi Oliver,

Have you looked at any examples on the matplotlib site?  For instance,  there are several examples about how to use wxPython (wx) with matplotlib.  Also, there is a save feature currently available in current gui when you run figure() (it is a floppy disk in navigation panel below the figure).

Aman


On Fri, Nov 12, 2010 at 5:20 AM, Olivier Verdier <zelbier@gmail.com> wrote:
Hi,

I would like to use matplotlib in a programmatic way.

I thought about creating a Figure object (with no canvas), and plot in
that Figure.

Depending on what the user wants, I could then either plot on screen
or save on file.

The problem is that I don't know how to connect a Figure object to the
FigureCanvas that the user chose in its preference file. In other
words, I would like to do what the function figure() does, but for an
existing Figure object.

How could I do that?

Thanks!

== Olivier

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users