Myles Scolnick
Myles Scolnick7mo ago

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

cc @RJ Budzyński
5 Replies
Myles Scolnick
Myles ScolnickOP7mo ago
moving your question to a better channel
Akshay
Akshay7mo ago
Yea it won't work, it requires the use of threading which isn't supported in WASM.
RJ Budzyński
RJ Budzyński7mo 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
dzenny7mo 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ński7mo ago
But is multithreading essential to animations? Async should be enough.

Did you find this page helpful?