marimo

M

marimo

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

Join

help-support

archived-help-and-support

Hi, in the sidebar doc example, all the

Hi, in the sidebar doc example, all the components are placed at the top. Is it possible to have a component placed at the bottom and the other at the top of the sidebar ? I've looked into CSS but couldn't find a way to achieve that. Basically, what I would need is a spacer with a responsive height like the one from Panel https://panel.holoviz.org/how_to/layout/spacing.html

Hi! I was looking at the documentation

Hi! I was looking at the documentation for sidebar, which contains a "nav_menu", but the example on https://docs.marimo.io/api/inputs/nav_menu.html#marimo.nav_menu, doesn't show anything. I guess it's a bug?

DataFrames and reactivity

How would you recommend handling reactivity within a pandas dataframe and between pandas dataframes? For example, I have a dataframe with three time series, each in a column and the third column is the product of the first two columns (multiplicand and multiplier). If I change an element of the multiplier column, I would like the product column to be updated. If instead of one dataframe, I had three dataframes, one for each column, and I changed the multiplier dataframe, I would like the pro...

I deployed a FastAPI + Marimo App to

I deployed a FastAPI + Marimo App to Google Cloud Run, and once deployed I am having a few hiccups (note this is specific to deploying via Docker not GCP): - My dark mode setting reverts to light - Any plots that use a plotly backend stop working. I see this traceback which I am not quite sure how to interpret: ``` 2024-05-13T20:18:24.173078Z...

vscode extension

am i right that the vscode extension doesn't support sync between source file edits and notebooks rendered in either edit or view mode?

Modify UI elements

Is it possible to modify the attributes of UI elements? For instance, to change the range of a slider:
No description

reactive state

Hello! Something seems wrong with state and linking elements. Even the provided example doesn't work. =( https://docs.marimo.io/guides/state.html#example-tied-elements https://marimo.app/l/c9jvf6...

is there a way to reduce the number of

is there a way to reduce the number of digits written in a table by marimo? Right now, I end up with a ton of significant digits. I know you can format this as a string to reduce the number of digits, but is there a built-in method?

Does query_params() only run once on

Does query_params() only run once on session initialization? It doesn't appear responsive to changes I do, so if I add a query param and refresh, it doesn't change what the query_params() function returns

How is the tree view sorted?

How is the tree view sorted? Got a little confused when a cell with no inputs was put further along the tree. Also mo isn't shown as an input, is that working as intended?...

FastAPI deployment

I am trying to replace some apps at my company with some marimo apps. I am looking for some solid comprehensive examples of how to launch marimo with fast api that is a little more in depth than the ~20 lines of code in the docs. Does anyone know if I can find this somewhere?

Dropdown Box w/ plotly

Would it be okay to ask questions about using/interacting with Marimo here? I want to make just a simple dropdown that decides what plots i display, but when i choose the value in the dropdown box, the graph only displays for a split second before just dissapearing. I am using plotly plots.

marimo convert encoding

I have been using Marimo for the last month and have just ran into my first issue when converting a jupyter notebook to a marimo notebook. The default encoding in my VSCode is UTF 8, though everytime i ran
marimo convert jupyter.ipynb > marimo.py
marimo convert jupyter.ipynb > marimo.py
my marimo.py would be written in UTF-16 encoding making it unable to be ran in either read or read/write. ...

Async mo.lazy

hi. Can I use marimo.lazy on async callables (Coroutines) ? Currently, it seems it only works for sync code

Hide cells

I am just starting using Marimo and I love it. I'd like to use it as an interactive "Learn Python"-worksheet. Is there a way to hide some code completely (e.g. test cases) ? Some kind of "student view" where certain blocks are inaccessible or run in the background but other blocks are still editable?...

marimo convert

Feels like I'll have to rewrite most of the code (which makes sense bc of the way it executes)

can I install marimo dev versions from

can I install marimo dev versions from pypi?

Weird, that isn't working. But marimo

Weird, that isn't working. But marimo seems to be working fine, it's just not recognizing the --host command
No description

plotly click data

The plotly interactivity has potential, but I could really use click data not just selection data? Is that in the works? I would love to make a second plot based on clicking a point on the first plot.

Spinner to hstack

hi. Is there a way to add a spinner to a vstack or hstack as it's a context manager and not a UI element (or HTML)?