Skip to content

Commit

Permalink
line 603, 'schelling' instead of 'model' (#1120)
Browse files Browse the repository at this point in the history
line 603 in docs/src/tutorial.jl
changed from
```julia
figure, _ = abmplot(model; agent_color = groupcolor, agent_marker = groupmarker, as = 10) # not executing
```
to
```julia
figure, _ = abmplot(schelling; agent_color = groupcolor, agent_marker = groupmarker, agent_size = 10)
```
  • Loading branch information
raylv17 authored Dec 21, 2024
1 parent ab5f133 commit 1ec523b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ groupmarker(a) = a.group == 1 ? :circle : :rect

# We pass those functions to [`abmplot`](@ref)

figure, _ = abmplot(model; agent_color = groupcolor, agent_marker = groupmarker, as = 10)
figure, _ = abmplot(schelling; agent_color = groupcolor, agent_marker = groupmarker, as = 10)
figure # returning the figure displays it

# The function [`abmvideo`](@ref) can be used to save an animation of the ABM into a video.
Expand Down

0 comments on commit 1ec523b

Please sign in to comment.