Skip to content

Commit b2e1446

Browse files
rhtjackiekazil
authored andcommitted
JupyterViz: Convert back Card to regular function
1 parent 21ac431 commit b2e1446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mesa/experimental/jupyter_viz.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
plt.switch_backend("agg")
1414

1515

16-
@solara.component
16+
# TODO: Turn this function into a Solara component once the current_step.value
17+
# dependency is passed to measure()
1718
def Card(
1819
model, measures, agent_portrayal, space_drawer, current_step, color, layout_type
1920
):

0 commit comments

Comments
 (0)