[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Async Python src block behavior with :dir header property
From: |
Ihor Radchenko |
Subject: |
Re: Async Python src block behavior with :dir header property |
Date: |
Wed, 31 Jan 2024 16:21:04 +0000 |
[ CCing ob-python maintainer ]
Nasser Alkmim <nasser.alkmim@gmail.com> writes:
> Here is a clearer description of the unwanted behavior:
>
> 1. emacs -Q ~/Desktop/testasync.org
>
> Then evaluate (require 'ob-python) and paste this source block:
>
> #+begin_src python :dir otherdir :async yes :session pysession :return
> figname :results file value :mkdirp yes
> import matplotlib.pyplot as plt
> plt.figure(figsize=(1, 1))
> plt.plot([1, 2])
> figname = 'fig.svg'
> plt.savefig(figname)
> #+end_src
>
> Execute the source block, which results in
>
> #+RESULTS:
> [[file:fig.svg]]
I don't even see this.
Confirmed.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>