marimo

M

marimo

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

Join

help-support

archived-help-and-support

Python env packages

How to setup a virtual environment? I have a simple notebook in a test folder ``` import tensorflow...

Marimo export to jupyter notebook

hi i'm trying to use marimo to convert our current juypter notebooks. I've started to do so but i have a question about the interoperability between them. I'd like to write notebooks in then convert them and run a juypter notebook. My company tooling around automated reports that i'd like to leverage while getting the benefits of marimo's reproducibility...

I am noticing if I use the search bar in

I am noticing if I use the search bar in mo.ui.table on a polars dataframe and then do multi select, I get back the wrong rows

Experimental strict execution

How can I enable Experimental strict execution? I see in https://github.com/marimo-team/marimo/releases/tag/0.6.20 that I have to write
[experimental]
execution_type = "strict"
[experimental]
execution_type = "strict"
...

Hi! Is it possible to use a different

Hi! Is it possible to use a different backend for the mo.ui.file component? Instead of uploading to the server, I want to upload to a bucket somewhere. I'm thinking I could do this with the "on_change", but I don't know when that is applied (before or after the upload). Additionally, can I change the 100 mb limit?

But I could just store the values, right

But I could just store the values, right?

plotly.express

Apologies, now plotly.express isn't working in WebAssembly. Thing is I haven't changed anything how I'd write code. It works locally though đŸ˜”â€đŸ’«. This is the error traceback I'm getting: Traceback (most recent call last): File "/lib/python3.12/site-packages/marimo/_output/formatting.py", line 123, in try_format...

OpenAI config

Hi ... I'm new to Python and Marimo. I've saved my Open AI API key in the Toml file and I get either: Open AI API key not configured or no result ... Any pointers on what I might have skipped?

Importing external files in the same directory

I have a question that might seem silly, but I couldn't find an answer through searching. I am currently running Marimo as a service using sysvinit on Ubuntu, with the root directory in the services file set to my home directory. When I create a Marimo project directory under my home directory, let's call the directory "experiment1", and try , from a marimo notebook in that same directory to import a utils.py file which is also in the experiment1 directory, I have to use the following syntax: ``` from home.mlengineer.experiment1.utils import X,Y,Z...

Been wanting to display two different

Been wanting to display two different sets of sliders with different options (they are stacked together horizontally) according to the radio button choices/checkbox choices/switch toggle (trying all sorts of "choice" related UI elements) that the user selects. The sliders should be updated accordingly. How do I achieve this? For example, I have made 3 sliders. I want to use two radio buttons as choices for the user to choose from; this will in turn change the sliders (there exists one common slider in both options). ```python frequency = mo.ui.slider(start=1, stop=10, step=1, value=5, label="Frequency") amplitude = mo.ui.slider(start=1, stop=10, step=1, value=5, label="Amplitude")...

Looks like this happens when the

Looks like this happens when the notebook's code is too large. Still pretty weird behavior though.

What's the best way to remove unused

What's the best way to remove unused imports from a notebook? Running autoflake does not work, since the imports are wrapped in a cell and the imported names are then returned by the cell, so they are "used"

Hi, new marimo user here! Do we have an

Hi, new marimo user here! Do we have an update on the ability for marimo to export interactive HTML files? Thank you!

hi, new here but I wanted to ask about

hi, new here but I wanted to ask about an issue I just discovered and wondered if it was a known issue. When using the mo.ui.altair_chart for interactive altair charts, the chart cells seem to break completely if you are launching inside of a docker container and using the --base-url option (cells return 404). Confirmed that simply removing the --base-url resolved the issue....

hi, I have a question regarding the

hi, I have a question regarding the rendering of components. I've made a spinner component, which shows up when I press a button, but it seems it gets "greyed" out, i.e. dropped in the background - why is that?
No description

I'm really confused about this 


I'm really confused about this 
 Is it a feature of marimo or my personal settings 
 but i'm sure i've never setup such an access token...
No description

Buttons in tables

Is there a way I can add a column to a marimo table that is an icon that is connected to a callback? So for example like a delete button for a row on a table?

I've been experimenting with using

I've been experimenting with using asyncio to listen to a stream of data, have a variable updated from the stream and trigger re-execution of cells depending on that variable. I've not been able to make it work (basing my work off of what I can read in this PR), and I wonder, is it even possible?

Flask

I want to deploy my marimo dashboard in to our existing flask application. I can see example for integration with FASTAPI but the similar logic is not working for flask since it does not support .mount method. Is there any provision to integrate marimo dashboard in flask application.?

Refresh

Hi all! Just a simple question about the Refresh feature. I'm trying to refresh at rates <1 second, but even though it accepts times less than 1 second it appears to still be refreshing at 1 second. Here's a simple example: https://marimo.app/l/wlfaxb Am I doing something wrong or is this maybe a bug of some kind?...
Next