Hi everyone,

I am using (insert (org-version)) 7.9.3a
I am using python-mode 5.2 (more modern versions do not work with
:session for me)

I am having a problem using matplotlib with python :session. The problem is that this hangs indefinitely. It runs fine as a standalone block.

#+BEGIN_SRC python :session
import matplotlib.pyplot as plt

plt.plot([1,2,3,4,5])
plt.show()
#+END_SRC

#+RESULTS:

Does anyone else have this problem (and if not, what is your python setup?).

Thanks,

John

-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu