emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [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/)]
@ 2021-12-09 16:52 Robert Nikander
  2021-12-10  7:13 ` Greg Minshall
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Nikander @ 2021-12-09 16:52 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

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

After running it inserts this:


As described in the stackoverflow Q&A, I can then run `org-redisplay-inline-images` or other commands to show the image.


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

[-- Attachment #2: Type: text/html, Size: 2054 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-10  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 16:52 [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/)] Robert Nikander
2021-12-10  7:13 ` Greg Minshall

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).