Myles Scolnick
Myles Scolnick5mo ago

`marimo.mpl.interactive()` does not and will not work in wasm notebooks?

cc @RJ Budzyński
5 Replies
Myles Scolnick
Myles ScolnickOP5mo ago
moving your question to a better channel
Akshay
Akshay5mo ago
Yea it won't work, it requires the use of threading which isn't supported in WASM.
RJ Budzyński
RJ Budzyński5mo ago
So in particular, there seems to be no way to make use of matplotlibs animation API. This is one thing I'm missing from marimo, the possibility of making moving pictures.
dzenny
dzenny5mo ago
It's a pity. I guess that's why matplotlib animations work in jupyter-notebooks, but (should) not work in JupyterLite. Well, WASM might receive multi threading one day...
RJ Budzyński
RJ Budzyński5mo ago
But is multithreading essential to animations? Async should be enough.