Thanks for your kind offer Chris.
Unfortunately I'm more familiar with PythonCard which hides just about everything about wxWindows/wxPython. PythonCard is used to build simple GIU driven applications rapidly. It has no direct support for plotting but because it is based on wxPython I could, fairly quickly, build in wxPyPlot (?). Unfortunately wxPyPlot doesn't have the functionality I need. PythonCard does support wxFloatCanvas. The application I'm developing has a main startup GUI comoposed of several components, one of which is a FloatCanvas. What I want to do is display the matplotlib plot (or plots) in this already existing component. I'm not sue this is even possible: I guess I want to assign the figure container to the PythonCard component.
From: Chris Barker [mailto:Chris.Barker@…259…]
Sent: Fri 10/28/2005 6:29 PM
To: Smith, Frank; firstname.lastname@example.org
Subject: Re: [Matplotlib-users] Embedding in existing application window
Smith, Frank wrote:
> Is it possible to plot onto an existing application window?
I'm not entirely sure what you mean by this.
> particular, I'm developing a simple application under PythonCard
> whose main application window that already has a component that
> inherits from wxFloatCanvas
Do you want to plot with MPL on top of the FloatCanvas? If so, that will
be tricky. However, if you want to create another Panel, and plot to
that, you want to look at the examples and docs for "embedding in wx"
and similar titles.
By the way, I'm the author of FloatCanvas, so feel free to send me any
questions, and let me know if you want the latest and greatest version.
> I've looked at the WX, WXAgg backends but at first glance they
> are a little unyielding!
yup. If all goes well, you should be able to just use those without
having to understand them!
Christopher Barker, Ph.D.
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception