[wxPython-users] Placing output from matplotlib into a frame

Christopher Barker Chris.Barker at noaa.gov
Wed Jun 20 10:17:17 PDT 2007



Mark Martinez wrote:
> I have an MDI parent frame and child frame set up. In the child frame,
> I want to use part of the frame to display the output from a .py that
> is mainly matplotlib (a graph) in a section of the frame. How can I
> get it to automatically run that script and place the resultant graph
> in a panel?

see the "Embedding in wx" examples that come with matplotlib.

Also check out wxmpl, it makes this even easier.

http://agni.phys.iit.edu/~kmcivor/wxmpl/

-CHB


-- 
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