Change app description, favicon
Hello. Is there a way to change the description and the favicon on the app today?
I'm actually considering putting it in a fast API app, so I guess I could override it there with a middleware potentially, but... I don't know if maybe there's a configuration option I can do, that would be a little simpler to start out with....
Rendering a Leafmap map with height, width=100%
My first use case for Marimo is for publishing maps created with Leafmap and I'm so close to what I need. I set the notebook width to full which gets me close, but I'd like to use the full extent of the webpage viewport. How might I accomplish this?
Turn off "download as HTML" in app
I couldn't find an answer to this in the docs, sorry if I missed it. Is there a way to turn off the "Download as HTML" option when you are running the notebook as an app?
I'd strongly prefer my users not be able to do that.
Turning off all the download options is OK too. I guess that I could add custom CSS that disables it. But if there's a configuration option, that would be nice....
Import function from local module
This may be a silly question, but can I add a module with my custom scripts/functions from my local working directory and then reference these python files in the marimo notebook? I currently get a "no module found" / "missing package" error when I add
from local_folder.my_python_script import my_function
What would be the best way to do this?...Solution:
So you guided me down the right path. I ended up converting my folder
local_folder
into a package using UV init and adding all dependencies in that folder environment. UV automatically added the package to my marimo environment as a workspace tool.
I then used `uv pip install -e local_folder/.' to add my created package to marimo.
I restarted marimo and it picked up all my functions. ...Confusion about uv - tangential
I know this isn't a
uv
community but the marimo one but I know there are a lot of big uv fans here. I am little confused about some elements of uv, can somebody enlighten me please?
https://github.com/astral-sh/uv/issues/9219...Table shows "string" or "number" below header
Not sure if this is a bug, or a feature, but suddenly tables show the datatype below the header of each column. This is also the case on the example in the documentation. Is there a way to disable this?
display output of all expressions in a single cell
Likely Issue
Can't get marimo to display multiple dataframes in a single cell by default.
Context:
- By default, jupyter prints only the output of the last evaluated expression in a single cell. Working with multiple data frames, its tiresome to only look at a single frame in one cell. ...
Multiple levels of dropdowns
I want to build a set of “nested” drop downs, where the choice in the first level determines the choices in the second level, etc. any suggestions for how I might go about doing this?
current working directory when python file in subfolder
When I run
uv run marimo edit subfolder/hello.py
and then type
```py...intro.py
should a hint be included at the top of intro.py
that the entire notebook has been "run already", and to "watch out for yellow highlights on the cell play button"...
marimo tutorial intro
marimo tutorial intro
For the table widget, can we rename the column labels?
I am going through the documentation of the table element, and I am wondering can the column label be renamed? Or we must do that in a dictionary object first?
Solution:
i would change it from the data you have before passing it into
mo.ui.table
can marimo integrate with ipydatagrid ?
the new
mo.ui.experimental_data_editor
is super cool, but it looks like Bloomberg has released a pretty feature-rich editable table:
https://github.com/jupyter-widgets/ipydatagrid
I was wondering: can marimo embed ipywidgets?
and can it run them interactively?...Debugging / stacktrace in chat application
I am looking for instructions on how to debug some code that is run from a mo.ui.chat box. I get error messages (example pasted), but no stack trace or similar that could bring me closer.
How to distinguish marimo notebooks from any other python files robustly and efficiently?
If I want to get all marimo notebooks recursively inside a directory, what algorithm can be both robust and efficient?
Google Vertex AI
Is there a way for Claude from Google Vertex AI to be enabled?
Not sure if I can get an api key for this as this is authenticated through a CLI and browser sign in for it to work in CLINE VSCode extension...
0.9.15 doesn't render custom index column of dataframe
Somehow, updating 0.9.14 to 0.9.15 breaks dataframe ui if dataframe is of custom index column, but to_markdown() works for both versions
Solution:
0.9.16 fixed the issue 🙂
Receiving Error: Invalid Time
This morning I updated to Marimo 0.9.15 and now I'm receiving an "Error: Invalid time value" when trying to display an Ibis or a Polars dataframe that contains a timestamp column that is null.
Here's some simple code that replicates what I'm seeing:
```
df = (...