You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while testing around with the reactive execution of Marimo I got stuck with the following behavior:
My notebook has two cells. Cell 2 is dependent of cell 1 as it uses a variable declared in cell 1. Now I change the code in both cells without executing it. Both cells get stale. Now I execute the first cell, expecting the second cell to be run with my edited code. But in fact, marimo executes the second cell with the old code.
This seems very unintuitive to me. Is this intentional behavior?
Here is a screencast of the example and the python file of the marimo app.
Screen.Recording.2025-11-05.at.16.09.05.mov
import marimo
__generated_with = "0.17.6"
app = marimo.App(width="medium")
@app.cell
def _():
a = 0
return (a,)
@app.cell
def _(a):
b = a + 0
return
if __name__ == "__main__":
app.run()
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
while testing around with the reactive execution of Marimo I got stuck with the following behavior:
My notebook has two cells. Cell 2 is dependent of cell 1 as it uses a variable declared in cell 1. Now I change the code in both cells without executing it. Both cells get stale. Now I execute the first cell, expecting the second cell to be run with my edited code. But in fact, marimo executes the second cell with the old code.
This seems very unintuitive to me. Is this intentional behavior?
Here is a screencast of the example and the python file of the marimo app.
Screen.Recording.2025-11-05.at.16.09.05.mov
Beta Was this translation helpful? Give feedback.
All reactions