pylab.close() gtk error. Could be a bug (?

I don't think show._mainloop is needed - it records the GTK+ state, but
GTK+ already does that itself and provides gtk.main_level() which
returns how many nestings of the mainloop we have running. To fix the
reported error we just need to check the main loop is actually running
before we call gtk.main_quit().

Fixed in CVS.


Send instant messages to your online friends


On Fri, 2006-02-24 at 14:15 -0800, John Hunter wrote:

        This is a bug and I fixed it in CVS (Steve take a look and see
        if you
        agree with the show._mainloop approach) but basically you
        don't want
        to use matplotlib this way.