emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] are babel python sessions and inlined images incompatible?


From: Rodrigo Amestica
Subject: Re: [O] are babel python sessions and inlined images incompatible?
Date: Wed, 24 Apr 2013 19:33:12 -0400
User-agent: SEMI/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.2 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Wed, 24 Apr 2013 23:06:30 +0200,
Sebastien Vauban wrote:
> >> You don't need to explicitly specify a return when working with a
> >> session.  Either of the following should work.
> >> 
> >>     #+BEGIN_SRC python :session test :file "images/test.png"
> >>       from pylab import *
> >>       plot(rand(10))
> >>       savefig('images/test.png')
> >>     #+END_SRC
> >
> > that does not quite work, I get no inlined image but the following line in 
> > the
> > Messages buffer
> >
> > orgtbl-format-line: Wrong type argument: sequencep, 
> > <matplotlib\.lines\.Line2DError during redisplay: (wrong-type-argument 
> > arrayp nil)
> 
> Try adding the `:results graphics' header argument...
> 

it does not help. Still same error. I'm using org-7.9.4 from tarball, in ob.el
there is no 'graphics' option defined for :results.

thanks for the hint, though
 Rodrigo




reply via email to

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