On Fri, Feb 15, 2008 at 4:07 PM, Chris Kennedy <[EMAIL PROTECTED]> wrote: > hi Mike, > It only prints what is between the ----, ----- . I tend to think it is > related to Tkinter. > > I'm using the default GTKAgg. > > I have generated over 1500 images using the simple example with no > issue. When it is in the larger app, it fails on the 2nd or 3rd request. > > I'm trying > reload(matplotlib) > matplotlib.use('TkAgg') >
There seems to be some deep confusion here. You say you are using the default GTKAgg, but then try "reload" (suggesting an interactive session) and then call matplotlib.use('TkAgg') (which is never appropriate when using TkAgg. Pleas explain to us a little more clearly what you are trying to do: are you embedding matplotlib in a UI, if so which on? Are you using it interactively from the python shell (if so, which one?) Note that if you are trying to build an app, as you suggest, ie embed matplotlib in a GUI, you should not be using pylab at all. You should follow the lead of examples/embedding_in_YOURGUI*.py , eg those at http://matplotlib.sf.net/examples JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users