Skip to content

Commit 2837cc1

Browse files
committed
fix: Apply default value to slider
1 parent a192c8c commit 2837cc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mesa/experimental/jupyter_viz.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ def change_handler(value, name=name):
286286
)
287287
slider_class(
288288
options.label,
289+
value=options.value,
289290
on_value=change_handler,
290291
min=options.min,
291292
max=options.max,

0 commit comments

Comments
 (0)