The canonical FuncAnimation example does not work in https://molab.marimo.io (nor in https://marimo.app for that matter) even though it works in plain old jupyter and even pyscript. mo.mpl.interactive ...
import matplotlib.pyplot as plt import matplotlib.animation as animation %matplotlib inline def updatefig(i): fig = plt.gcf() ax = plt.gca() ax.plot(i,i, "o") updatefig(10) # works plt.figure() # ...