emacs-jupyter / jupyter

An interface to communicate with Jupyter kernels.
GNU General Public License v3.0
914 stars 89 forks source link

[Q] Are images in `.ob-jupyter` ever automatically deleted? #502

Closed NightMachinery closed 7 months ago

NightMachinery commented 8 months ago

Are images in .ob-jupyter ever automatically deleted?

I had some images being lost, and the only culprit I can think of is auto-deletion to conserve storage.

nnicandro commented 8 months ago

Yes images are automatically deleted if there are some in the results of a code block and you execute the code block again. In that case, the new results would overwrite the old results so it made sense to delete the files of the old results.

See org-babel-jupyter-cleanup-file-links.