This works for me in iPython notebook (python 2.7).
Maybe you want to make sure your back-end setting for pylab is not set to inline?
[you'll likely have to restart your kernel for the changes to take effect]
Another possibility is that your process is still running from a previous attempt.