Kino.animate in Livebook?

Is there a simple way to have a Kino animation (a graph being refreshed periodically) in a Livebook without the “flickering” due to the graph disappearing between each frame and the browser moving the rest of the page up and then back down?

Thanks!

1 Like

Hi @pfelber, welcome to the forum! :waving_hand:

Depending on if you want to update the graph’s data or some other property, Kino.VegaLite.push/3/ Kino.VegaLite.push_many/3 or Kino.VegaLite.set_param/3 might be useful. Take a look at this thread

1 Like