I can run the following code fine from a regular cmd shell:
import matplotlib.pyplot as plt
fig = plt.figure()
plt.show()
It launches a Matplotlib window. However, running inside Emacs using shell or py-shell: the buffer just hangs and no window is launched. What's going on here and how can I fix it?
I got it working with ipython.el.
I had to add modify python26\scripts\ipython.bat:
Then in Emacs: