diff --git a/mesa/experimental/components/altair.py b/mesa/experimental/components/altair.py index 75e89efea5f..9d790dc3aa8 100644 --- a/mesa/experimental/components/altair.py +++ b/mesa/experimental/components/altair.py @@ -7,6 +7,7 @@ with contextlib.suppress(ImportError): import altair as alt + @solara.component def SpaceAltair(model, agent_portrayal, dependencies: Optional[list[any]] = None): space = getattr(model, "grid", None)