Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support simulators in SolaraViz #2470

Merged
merged 30 commits into from
Nov 10, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
87e064e
switch to devs based wolf-sheep
quaquel Nov 8, 2024
16d7b7b
bug fixes in devs
quaquel Nov 8, 2024
2f9928e
add simulator controller
quaquel Nov 8, 2024
83e9f3c
Update wolf_sheep.py
quaquel Nov 8, 2024
1cebacf
testing
quaquel Nov 8, 2024
e49aa0b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 8, 2024
950f2b5
Merge branch 'main' into devs_solara
quaquel Nov 8, 2024
02e5eb4
docstring
quaquel Nov 8, 2024
03b6aeb
Merge branch 'main' into devs_solara
quaquel Nov 9, 2024
d32048b
ongoing
quaquel Nov 9, 2024
d15be56
remove monekypatch of step
quaquel Nov 9, 2024
465691b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 9, 2024
e5f1f95
Merge branch 'main' into devs_solara
quaquel Nov 9, 2024
e0deb8d
Merge branch 'main' into devs_solara
quaquel Nov 9, 2024
d8d59f1
devs related updates
quaquel Nov 9, 2024
3c1ac7a
updates
quaquel Nov 9, 2024
8053c0e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 9, 2024
6f37e67
cleanup
quaquel Nov 9, 2024
10dfb5e
Update test_examples.py
quaquel Nov 9, 2024
2d09ccc
update benchmarks to reflect new devs usage
quaquel Nov 9, 2024
5b68291
updates
quaquel Nov 9, 2024
1948ba8
cleanup
quaquel Nov 9, 2024
77ede5f
Merge remote-tracking branch 'upstream/main' into devs_solara
quaquel Nov 9, 2024
e747bb0
Merge remote-tracking branch 'upstream/main' into devs_solara
quaquel Nov 9, 2024
cc82d7b
Update solara_viz.py
quaquel Nov 10, 2024
c775b4b
fixes 1-3
quaquel Nov 10, 2024
6539f82
Update solara_viz.py
quaquel Nov 10, 2024
6fed685
cleaner fix
quaquel Nov 10, 2024
8f4753d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 10, 2024
0284ab4
Update solara_viz.py
quaquel Nov 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docstring
  • Loading branch information
quaquel committed Nov 8, 2024
commit 02e5eb4935ae59972af2b1d4952d96cab0b7e6ab
1 change: 1 addition & 0 deletions mesa/visualization/solara_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def SolaraViz(
Defaults to "default", which uses the default Altair space visualization.
play_interval (int, optional): Interval for playing the model steps in milliseconds.
This controls the speed of the model's automatic stepping. Defaults to 100 ms.
simulator: A simulator that controls the model (optional)
model_params (dict, optional): Parameters for (re-)instantiating a model.
Can include user-adjustable parameters and fixed parameters. Defaults to None.
name (str | None, optional): Name of the visualization. Defaults to the models class name.
Expand Down
Loading