I\'d like to have the matplotlib \"show\" command return to the command line
while displaying the plot. Most other plot packages, like R, do this.
But pylab hangs until the
Add pylab.ion() (interactive mode) before the pylab.show() call. That will make the UI run in a separate thread and the call to show will return immediately.