Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2024
1 parent b78b49c commit 5e11fe0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mesa/visualization/solara_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def ComponentsView(

@solara.component
def ModelController(
model: solara.Reactive[Model], *,
model: solara.Reactive[Model],
*,
model_parameters: dict | solara.Reactive[dict] = None,
play_interval: int = 100,
):
Expand Down Expand Up @@ -271,7 +272,8 @@ def check_param_is_fixed(param):
@solara.component
def ModelCreator(
model: solara.Reactive[Model],
user_params: dict, *,
user_params: dict,
*,
model_parameters: dict | solara.Reactive[dict] = None,
):
"""Solara component for creating and managing a model instance with user-defined parameters.
Expand Down

0 comments on commit 5e11fe0

Please sign in to comment.