Mustjaab
Mustjaab2mo ago

Hiding Output

I remember there used to be a way to hide cell output, or like disable it. Can that still happen?
7 Replies
Akshay
Akshay2mo ago
mo.stop()?
Mustjaab
MustjaabOP2mo ago
Hm, for example, I generated these tables using the SQL cells, but I don't want the tables themselves to be visible. I would only like to generate them, so I could then feed them into the dropdown option, and be reflected through the bar graph.
No description
Mustjaab
MustjaabOP2mo ago
No description
Akshay
Akshay2mo ago
Oh got it — right now SQL cells automatically display their output but we can look into making that configurable, it’s been requested before Thanks for the question/feedback!
Mustjaab
MustjaabOP2mo ago
Awesome, thanks!
Akshay
Akshay2mo ago
As a matter of fact, we have a PR open for it — https://github.com/marimo-team/marimo/pull/2326
GitHub
improvement: Add "Hide outputs" to sql cells by mscolnick · Pull Re...
Fixes #2266 Adds "Hide output" to the sql. This serializes to mo.sql("...", output=False) Note: Since this changes the code, it does mark the cell as stale, inst...
Akshay
Akshay2mo ago
Will be in the next release’