[Tutor] matplotlib (pylab) backends

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Thu Jul 28 19:16:28 CEST 2005



On Wed, 27 Jul 2005, Pujo Aji wrote:

> I write a program which launch pylab from windows GUI (using wxpython).
> I found some problem here.
>
> If I use the default backends program  in matplotlibrc which is TkAgg
> I have this result:
> 1. I click button the plot is showed
> 2. I close the plot
> 3. I click the button to show the plot the second time. it shows the
> plot but I can't closed it (it hangs.

Hi Pujo,

Without seeing what you've actually written, I'm not sure how effectively
we can help you here.  If you can, point us to code that we can use to
reliably reproduce your problem.  Otherwise, we really can't say at all
what's happening here.

If I were forced to guess, I guess that some resource is not being
properly set to the initial state when the plot is first closed.  Since
many of us here have little experience with the matplotlib package, you
may want to check with someone on the matplotlib-users mailing list to see
if someone there can help you:

    http://lists.sourceforge.net/lists/listinfo/matplotlib-users



More information about the Tutor mailing list