#+BEGIN_SRC python import matplotlib.pyplot as plt a=[1,2,3] #+END_SRC
I execute the code block, no problem Then I execute this:
#+BEGIN_SRC python plt.plot(a) #+END_SRC
boom, emacs hangs result doesn't change if I write plt.plot(a) directly in the *Python* buffer activated by org-babel-pop-to-session. if I use pylab (interactive mode of matplotlib), I can see a window with the plot, but then the *Python* shell is unresponsive, and the only thing I can do is just killing it.