-
Hi all I trying to generate animations with the Makie plotting library using the CairoMakie backend. While static plots are embedded by Quarto as expected, the result of the animation is not embedded. You find a minimal working Quarto example below. You may have to change the name of the jupyter kernel to match your setup. Any help is greatly appreciated. Cheers
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Quarto shows the same as Jupyter: the content of You may insert the gif figure after the code cell
(and remove the |
Beta Was this translation helpful? Give feedback.
-
Ah, you are right, too. From
So we have to use
works great for me. |
Beta Was this translation helpful? Give feedback.
-
Works like a charm. Thank you very much! |
Beta Was this translation helpful? Give feedback.
Quarto shows the same as Jupyter: the content of
fig
, i.e., the last frame of the animation. How should it pick up the name of the gif file generated by therecord
command?You may insert the gif figure after the code cell
(and remove the
current_figure
line). Looks OK to me.