How do I make a Makie animation appear in a VSCode plotting window?

I am sorry, I must have overlooked the not in your question.

Nevermind, there is a simpler trick. You can use Observables to trigger re-plotting and wrap this into a for loop. See the first code snippet under the section Animating a plot "live" here: Animations

Anyways, what’s the problem with just opening the animation with a standard video player?