Thanks Alan, I found a fix to my problem.
--
Nasser Alkmim
+43 677 6408 9171
t;
Hi Alan, how did you effectively solve the problem?
I'm experiencing the same.
I tried to add the recent org folder that I use to the load-path after loading
'ox, but it does not work.
--
Nasser Alkmim
+43 677 6408 9171
t;
Hi Alan, how did you effectively solve the problem?
I'm experiencing the same.
I tried to add the recent org folder that I use to the load-path after loading
'ox, but it does not work.
--
Nasser Alkmim
+43 677 6408 9171
Excellent job Ihor and Jack.
On the same note, it would be convenient to have a hook to run after the
async execution returns the output. Similar to
'org-babel-after-execute-hook'. So I could, for instance, redisplay the
inline image previews. Is there an easy way to do that?
--
Nasser
Jack Kamm writes:
>
> Does the attached patch fix the issue?
>
I briefly tested it here and it works.
Thanks for taking a look into it.
--
Nasser Alkmim
+43 677 6408 9171
lts in
#+RESULTS:
[[file:fig.svg]]
However, the figure is in ~/Desktop/otherdir/fig.svg and the link is
wrong. If I run the same block without the ':async' and ':session', I
get the right relative path to the figure:
#+RESULTS:
[[file:otherdir/fig.svg]]
Best regards,
--
Nasser Alkmim
+43
Ihor Radchenko writes:
> Nasser Alkmim writes:
>
>> This does not work.
>> Even though the python execution is in the right directory and the file is
>> saved
>> correctly.
>> The =return= does not produces the right file path considering the directory.
&
'
plt.savefig(figname, transparent=True, bbox_inches='tight')
#+end_src
Is this behavior as expected?
Is there a better way to have the figures from the python block with async
execution?
--
Nasser Alkmim
+43 677 6408 9171