Placing output from matplotlib into a frame

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?

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@noaa.gov