[SciPy-user] Solved-ish: matplotlib, Tkinter and multi-threaded web applications

zunzun@zunzu... zunzun@zunzu...
Sun Oct 14 17:14:17 CDT 2007


On Sun, Oct 14, 2007 at 05:09:36PM -0500, Robert Kern wrote:
> 
> Umm, only the TkAgg backend uses Tk. Why not just use a backend that doesn't
> have a GUI? Specify
> 
> backend : Agg
> 
> in your .matplotlibrc or call matplotlib.use('Agg') before importing pylab.

Tried it, didn't work.  Tk is still started and gave a threading
error.  It might not be used, but it does start in my tests.

     James


More information about the SciPy-user mailing list