emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Nikander <rob@iseecars.com>
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <86F9647B-48A6-411D-B0A5-F56AD46C6D39@iseecars.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-12-09 20:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 16:52 Robert Nikander [this message]
2021-12-10  7:13 ` [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/)] Greg Minshall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86F9647B-48A6-411D-B0A5-F56AD46C6D39@iseecars.com \
    --to=rob@iseecars.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).