I’m trying to use Org mode like a Jupyter notebook. I’ve got something working, but for graphic plots, I have to call `org-display-inline-images` after every call to `org-babel-execute-src-block`. I guess there is a work-around, described here:
But it seems like a bug. ?
My example block:
#+begin_src ess-julia :results output graphics file :file FILENAME.png :session *julia* :exports both
using Plots
x = 1:0.02:10; y = sin.(10x)
plot(x, y, label="test")
#+end_src
After running it inserts this:
#+RESULTS:
As described in the stackoverflow Q&A, I can then run `org-redisplay-inline-images` or other commands to show the image.
Rob
Emacs : GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
of 2021-11-18
Package: Org mode version 9.5.1 (9.5.1-g36086a @ /Users/rob/.emacs.d/elpa/org-9.5.1/)