Skip to content

Commit

Permalink
allow components as a positional argument again
Browse files Browse the repository at this point in the history
  • Loading branch information
Corvince committed Nov 11, 2024
1 parent a04e20b commit e1d886e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/visualization/solara_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
@solara.component
def SolaraViz(
model: Model | solara.Reactive[Model],
*,
components: list[reacton.core.Component]
| list[Callable[[Model], reacton.core.Component]]
| Literal["default"] = "default",
*,
play_interval: int = 100,
simulator: Simulator | None = None,
model_params=None,
Expand Down

0 comments on commit e1d886e

Please sign in to comment.