I've recently started using sublimetext 2, however I noticed today that the plt.show() function doesn't seem to work when run within sublimetext.
If for example I create the following script:
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.show()
Running this with IDLE generates a plot, however using sublimetext no output is generated. It just keeps 'thinking' until I end the python.exe process after which [Finished] is output.
Have I misunderstood how sublimetext is meant to be used?
Thanks.

Ctrl+Bto execute the script. - jdhao