emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-babel python :session hangs with matplotlib


From: John Kitchin
Subject: [O] org-babel python :session hangs with matplotlib
Date: Tue, 5 Feb 2013 21:16:44 -0500

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]