Hi Petro,

Yes, this should be possible.  To force the resulting image to be
included in the org-mode file you should add "file" to your results
header argument, and ensure that your block of python code, generates
the file, saves the file, and returns the path to the file as the last
part of the code block.

something along the lines of...

#+begin_src python :results file
  import matplotlib
  ...
  generate file
  ...
  save file
  ...
  path to file
#+end_src

Best -- Eric

Piter_ <x.pi...@gmail.com> writes:

> Hi all.
> If I understand correctly, one can make inline images using org-babel and 
> GNU-R. Will it work with
> matplotlib and python.
> Thanks
> Petro.
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to