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
I wanted to see if there is a way to expand the height of the output cells, either for all cells or for a specific cell, in order to display the entire output without scrollbars?
E.g. I have one cell which uses a for-loop to print a bunch of Seaborn plots. In the rendered output, only the first part of the first plot is shown, and the rest are clipped / you have to use a nested scrollbar to display them.
"Expand all cells" doesn't appear to help with this, and I could not find any other option to expand the output / not use scrollbars.
But that is aimed at a somewhat different problem.
This seems like something very basic that I could be missing though, which Is why I thought to ask here rather than submit an issue.
If it is not implemented, some possible approaches:
[] add option to expand all outputs to fit output height / avoid using scrollbars
[] add option to expand a single cell's output to fit output height / avoid using scrollbars
[] use window manager style "minimize" / "maximize" icons in top-right corner
[] add drag handle to bottom border and allow user to manually expand the output to a custom height (good in some cases, but not for very long outputs)
Update (2025-04-27)
After a bit more experimentation, it seems like if a cell contains only a single evaluated expression, Marimo handles it differently, showing the figure above the cell code, and providing "fullscreen" and "collapse/expand" buttons near the top-right corner of the cell (visible upon mouse hover).
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings!
I wanted to see if there is a way to expand the height of the output cells, either for all cells or for a specific cell, in order to display the entire output without scrollbars?
E.g. I have one cell which uses a for-loop to print a bunch of Seaborn plots. In the rendered output, only the first part of the first plot is shown, and the rest are clipped / you have to use a nested scrollbar to display them.
"Expand all cells" doesn't appear to help with this, and I could not find any other option to expand the output / not use scrollbars.
The closest discussion I could find relating to this is: Easier control of output height · Issue #3436 · marimo-team/marimo
But that is aimed at a somewhat different problem.
This seems like something very basic that I could be missing though, which Is why I thought to ask here rather than submit an issue.
If it is not implemented, some possible approaches:
Update (2025-04-27)
After a bit more experimentation, it seems like if a cell contains only a single evaluated expression, Marimo handles it differently, showing the figure above the cell code, and providing "fullscreen" and "collapse/expand" buttons near the top-right corner of the cell (visible upon mouse hover).
System:
Beta Was this translation helpful? Give feedback.
All reactions