emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel python :session hangs with matplotlib
@ 2013-02-06  2:16 John Kitchin
  0 siblings, 0 replies; only message in thread
From: John Kitchin @ 2013-02-06  2:16 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 906 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-06  2:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06  2:16 org-babel python :session hangs with matplotlib John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).