« Demo of launching a traitsui GUI as a separate process and then communicating with it via STDIN/STDOUT | Main | Turn web sharing back on in Mountain Lion »
Tuesday
Aug192014

Demo of Enthought's TraitsUI with matplotlib and a popup menu

I've been using Enthought's traits and traitsui to build a couple of GUI tools that display images and plots with matplotlib.

While there's a nice tutorial on using matplotlib within traitsui written by Gael Varoquaux, it was a bit more work to make a right click popup menu work on top of a matplotlib figure.

Here it is, just in case someone (perhaps me) is searching for such an example in the future: