emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] Eval src block does not redisplay inline image [9.5.1 (9.5.1-g3608


From: Robert Nikander
Subject: [BUG] Eval src block does not redisplay inline image [9.5.1 (9.5.1-g36086a @ /Users/rob/.emacs.d/elpa/org-9.5.1/)]
Date: Thu, 9 Dec 2021 11:52:10 -0500

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:

https://stackoverflow.com/questions/54269390/how-to-always-show-inline-images

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:
[[file:FILENAME.png]]

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/)


reply via email to

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