Closed MarcoGorelli closed 1 week ago
Thanks for reporting - I'll get a fix out for this today
@MarcoGorelli - for a workaround, if you wrap the result in mo.ui.altair_chart
it should render properly. but then there is a warning (which you can remove with chart_selection=None, field_selection=None
.
I am making this work without mo.ui.altair_chart
Describe the bug
The code below gives
Environment
{ "marimo": "0.8.13", "OS": "Linux", "OS Version": "5.15.153.1-microsoft-standard-WSL2", "Processor": "x86_64", "Python Version": "3.12.5", "Binaries": { "Browser": "--", "Node": "v20.16.0" }, "Dependencies": { "click": "8.1.7", "importlib-resources": "missing", "jedi": "0.19.1", "markdown": "3.7", "pygments": "2.18.0", "pymdown-extensions": "10.9", "ruff": "0.6.4", "starlette": "0.38.4", "tomlkit": "0.13.2", "typing-extensions": "4.12.2", "uvicorn": "0.30.6", "websockets": "12.0" }, "Optional Dependencies": { "altair": "5.4.1", "duckdb": "1.0.0", "pandas": "2.2.2", "polars": "1.6.0", "pyarrow": "17.0.0" } }
Code to reproduce