Thursday, December 3, 2009

GUI programming with Matplotlib, Tkinter and threads

This is probably old hat for most python programmers, but it just never became important enough for me until now. I'm currently writing a script for calculating A WHOLE BUNCH of radiative transfer models, and needed a way to visualize my results right away so I could tune my experiment at run-time. (For those who have some idea on model calculations, I'm searching a HUGE parameter space, and needed some quick-n-dirty methods to find my way around)

Eventually I ended up building a GUI frontend using Tkinter (because it's available with all Python distributions) and Matplotlib. Naturally I also had to figure out how threading is used in Python. Check out my Matplotlib wiki page for some recipes.

1 comment:

Anonymous said...
This comment has been removed by a blog administrator.