marimo

M

marimo

Join the community to ask questions about marimo and get answers from other members.

Join

help-support

archived-help-and-support

is there a way to get more info about an

is there a way to get more info about an exception? I'm getting some generic exception An exception was raised by a UIElement's on_change handler... but which element, I cannot see that?

Hi! Does anybody know if it is possible

Hi! Does anybody know if it is possible to make Folium's way of adding markers to a map compatible with Marimo's dependency checker? I would like cell 3 to update when a change of the slider in cell 2 causes an update of the markers shown on the map (cell 5).
No description

polars table date formatting

Here's mo.ui.table() presenting a polars dataframe:
No description

Format all cells

It seems like "format all cells" doesn't work. Also, the command palette does not remember "cell > format cell" as a frequent command. A little annoying, as it's one of my most often used....

failed to read utf-8

This is the traceback and what the marimo page looks like
No description

Feedback on reactivity

@Akshay As you can see in another thread, I'm really enthousiastic about Marimo and impressed with your work, and I'm on a path to explore much more of it, and to advertise it to my users. But I still think that the way you communicate the promise of Marimo is not quite correct: the execution order simply is not predictable. As you say yourself, it is intentionally unspecified. Imho it is better to be upfront with that in the docs. Quite a bit of may work in notebooks has nothing to do with widgets, I just want to run cells individually to see what happens, how long it takes, and so on. But: widgets are attractive, and Marimo's technique of binding widgets by value to a global variable is elegant....

Table with column of buttons

The docs have a recipe where the description of how to add a column of buttons but the actual code is a repeat from a previous example: https://docs.marimo.io/recipes.html#create-a-table-column-of-buttons-with-on-change-handlers Could you post the code here and maybe update the docs?...

Async codegen

Hi there. I'm having a strange issue in my marimo app, where I created an async function inside a marimo cell. The actual function however in my application.py file is not given the async keyword however. I've been unable to reproduce this behaviour outside my application, so I can't give a better explanation than this. I can manually add the async keyword in my python file, but as soon as I save the marimo file from within marimo, the async keyword is removed again,

Move multiple cells

Is it possible to move multiple cells at the same time? I have a notebook that's structured in sections/subsections using markdown headers, and i would like to reorder the sections

git-synced WASM notebooks

Hi all, marimo.app, when using pyodide kernel, we can upload files and then open the notebook using the file explorer or the dropdown to select files (based on the root workspace), also using marimo.app, we can share code using permalink (files stored and served by marimo backend) or use wasm link (code encoded in the url), it's great but I think that something way better can be implemented. Do you plan on integrating a git client in the front-end (using https://github.com/isomorphic-git/isomorphic-git) ? To allow user to navigate through a git repository by keeping the fact that files for the branch/commit will be copied to iDB store that is currently storing files and their content. Using query parameter, one could easily share the repository url, branch name and files to open. If the repo is private, then a popup that ask credentials can be done easily....

grid layout

How is the grid layout actually supposed to work? I drag and drop outputs, and nothing happens - they just slide back to the panel on the right.

Webassembly

Hi all, I'm sort of new to Marimo, though I tried out the inital release. Am very excited about the web assembly feature. My Q is: Can I make a web assembly marimo file, save it as a html, and anyone can open that marimo html file and run it, long as they have a web assembly supporting browser? My use case is I want to avoid public sharing, I have a quick analysis notebook which runs in web assembly, which I want to save in a onedrive, so anyone in my company can open and run it in the browser, change the data, and see new results/charts etc. I'm just using pandas and plotly, both of which work in webassembly....

Animate mpl

Is there any way to animate a matplotlib plot in marimo?

the TeX stuff is too small for the rest

the TeX stuff is too small for the rest of the line. Is there any way to fix that?

if you mean self-host all what you need

if you mean self-host all what you need for a WASM-based web app, then no : but I have an issue / (well discussion) open here

Is there a way to create a syntax

Is there a way to create a syntax highlighted code block that has copy-to-clipboard functionality with marimo?

dump state/ share a session

It would be great if you could dump state to share or just save a session I recognize the problem that state vs notebook might get out of sync. It matters how much this matters but there are ways to mitigate them....

Delay after hitting run

There seems to be some problem with the most recent release. I'm seeing an issue which looks like: I edit the code in a cell, and click run - then nothing happens for up to a minute or two, even though the code takes like 20ms to run. I wasn't seeing that in previous releases.

Two newbie questions (sorry)!

Two newbie questions (sorry)! 1. Where is the console area? I have an error and I'm getting a pretty uninformative traceback (just the last line I think). The tip tells me to look at the console area for the full traceback but I cant seem to find it. 2. Where is the restart kernel button? On the top right, I see a menu (three lines icon) that doesn't contain the button, a settings icon that also doesn't, and a button the shut down the notebook....