J.D. Herron wrote: > The application itself is actually a legacy app whose GUI is done with > WTL (windows template library) which is a thin veneer on top of the > windows API.
Darn. > I have matplotlib set to use wxAgg as the backend. I'm > not inclined to rebuild the entire app with a different GUI toolkit so > from your responses it looks like I'm going to have to do something more > complicated using wx directly in the scripts in order to make this type > of plotting work. yup. I'd post on the wxPython lists -- there are way s to pass Window Handles into/out of wx, so you may be able to get them to work together. I think you can also override the wx mainloop, so that you can deal with the two mainloops problem. This is all wx stuff, MPL isn't anything special in that regard. Another option is to use plain Agg back-end, and then render the resulting bitmap with WTL. (which I suppose is like building a limited feature MTL-Agg back-end) -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 [EMAIL PROTECTED] ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users