Skip to content

Commit

Permalink
breaking: Add dependencies argument to custom space_drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Aug 14, 2024
1 parent c96ee45 commit 0f68289
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 @@ -70,7 +70,7 @@ def Card(
)
elif space_drawer:
# if specified, draw agent space with an alternate renderer
space_drawer(model, agent_portrayal)
space_drawer(model, agent_portrayal, dependencies=dependencies)
elif "Measure" in layout_type:
rv.CardTitle(children=["Measure"])
measure = measures[layout_type["Measure"]]
Expand Down

0 comments on commit 0f68289

Please sign in to comment.