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.
import altair as alt
import marimo as mo
from vega_datasets import data
chart = (
alt.Chart(data.cars())
.mark_point()
.encode(
x="Horsepower",
y="Miles_per_Gallon",
color="Origin",
)
)
chart = mo.ui.altair_chart(chart)
mo.hstack([chart, chart.value])
Describe the bug
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.Environment
Code to reproduce