reddit / emacs

Org not refreshing gnuplot image

nagora · 2022-12-15 12:40
I have this: #+begin_src gnuplot :var data=f4resultsdat :file f4results.png :results output reset set terminal png size 800,640 set title "F4 Results" set xlabel "Test Configuration" set xtics rotate by -45 set style data histogram set ylabel "Time taken (minutes)" set yrange [0:750] plot data using 2:xticlabels(1) title '' #+end_src and when I first executed it it generated f4results.png fine and embedded the result as a #+RESULTS: in the org file as expected. If I add more data to the f4resultdat table (not shown) and re-run the code f4results.png is correctly updated but the embedded image in the org file does not change. I've tried deleting the png, closing the file, and going from org to fundamental and back again but nothing fixes it. Meanwhile, the png file gets updated on disc every time I run the block. Any advice/thoughts?
yantar92 · 2022-12-15 13:16
Looks like a duplicate of https://list.orgmode.org/alpine.DEB.2.22.394.2212112203210.121316@shell3.miskatonic.org/T/#t Will be fixed in the next bugfix release; already fixed on main.
nagora · 2022-12-15 15:17
Great. Thanks.