emacs-jupyter / jupyter

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

:file header fails to create the link to the result #523

Open logexp1 opened 4 months ago

logexp1 commented 4 months ago

When I try to plot using matplotlib using org source block as follows:

#+begin_src jupyter-python :file tangle/tmp.png
import matplotlib.pyplot as plt
\\ some code here \\
...
plt.show()
#+end_src

the result block looks like this:

#+RESULTS:
[[tangle/tmp.png]]

in which file: is missing. It should be like this:

#+RESULTS:
[[file:tangle/tmp.png]]
:END:

It was used to be like this. But after I changed my system to Fedora and installed new doom emacs, it began to act weirdly. Any help will be appreciated. Thanks!