@@ -32,7 +32,6 @@ model, daisy_step!, daisyworld_step! = daisyworld(; solar_luminosity = 1.0, sola
3232model
3333
3434# Now, to plot daisyworld is as simple as
35-
3635daisycolor (a:: Daisy ) = a. breed # color of agents
3736as = 14 # size of agents
3837am = ' ♠' # marker of agents
@@ -126,11 +125,11 @@ abmvideo(
126125
127126# It is possible to inspect agents at a given position by hovering the mouse cursor over
128127# the scatter points in the agent plot. Inspection is automatically enabled for interactive
129- # applications (i.e. when either agent or model stepping functions are provided). To
130- # manually enable this functionality, simply add `enable_inspection = true` as an
128+ # applications (i.e. when either agent or model stepping functions are provided). To
129+ # manually enable this functionality, simply add `enable_inspection = true` as an
131130# additional keyword argument to the `abmplot`/`abmplot!` call.
132- # A tooltip will appear which by default provides the name of the agent type, its `id`,
133- # `pos`, and all other fieldnames together with their current values. This is especially
131+ # A tooltip will appear which by default provides the name of the agent type, its `id`,
132+ # `pos`, and all other fieldnames together with their current values. This is especially
134133# useful for interactive exploration of micro data on the agent level.
135134
136135# 
@@ -189,7 +188,7 @@ scatterlines!(ax_counts, whites; color = :white, label = "white")
189188Legend (count_layout[1 ,2 ], ax_counts; bgcolor = :lightgrey )
190189
191190# # and another plot, written in a more condensed format
192- ax_hist = Axis (plot_layout[2 ,1 ];
191+ ax_hist = Axis (plot_layout[2 ,1 ];
193192 ylabel = " Distribution of mean temperatures\n across all time steps" )
194193hist! (ax_hist, @lift ($ (p. mdf). temperature);
195194 bins = 50 , color = :red ,
0 commit comments