We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79f74e commit 2b43544Copy full SHA for 2b43544
examples/boltzmann_wealth_model_experimental/app.py
@@ -27,7 +27,11 @@ def agent_portrayal(agent):
27
# Create initial model instance
28
model1 = BoltzmannWealthModel(50, 10, 10)
29
30
-# Create visualization elements
+# Create visualization elements. The visualization elements are solara components
31
+# that receive the model instance as a "prop" and display it in a certain way.
32
+# Under the hood these are just functions that receive the model instance.
33
+# You can also author your own visualization elements, they just have to return
34
+# a valid solara component or an ipywidget.
35
SpaceGraph = make_space_matplotlib(agent_portrayal)
36
GiniPlot = make_plot_measure("Gini")
37
0 commit comments