Converting to juypter doesn't display in output of notebook #1670
Replies: 3 comments 11 replies
-
I am converting this to a discussion, as it's not quite an issue for us. marimo is not built on top of Jupyter so I wouldn't expect it to run in Jupyter at all if you are using the marimo library ( In order to improve upon the notebook and not be help back by legacy features, technologies, or specs, it is a non-goal to allow the marimo library |
Beta Was this translation helpful? Give feedback.
-
i agree with the premise of not fully supporting output but why support exporting as a feature if it can't run. Maybe it shouldn't be a bug but semi-feature to allow more people to migrate off of it. i agree you shouldn't couple it to jupyter but it would be trivial enough to support writing the output or ipython display you could literally just check if it is running in a juypter notebook and call ipython display under the hood. |
Beta Was this translation helpful? Give feedback.
-
Printing to ipython will likely create more bugs than solve. For example, printing a slider will just return a non-working slider that doesn't update any downstream code. Our tables and charts use some semi-fancy lazy-loading for performance, so that would need to be ported over as well.
I agree with this sentiment, and it makes it feel like the export is half-done. I think adding some level out python outputs to jupyter will make this feel similarly half-done (i.e. no interactions work, design is off, etc) We did this originally because it is a respected format that can serve as a bridge to other systems or CLIs (GitHub previews, pandoc, myst, jupytext, etc). For example, |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
After exporting to jupyter notebook running markdown or any other output doesn't display in notebook.
Also if you try to do
mo.output.append
it throws a no context error. I'd like to be able to convert to a jupyter notebook book for a regularly scheduled report my company uses.Environment
Code to reproduce
Beta Was this translation helpful? Give feedback.
All reactions