Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
fix incorrect usage of static preplot.
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Apr 4, 2022
1 parent 47a4caf commit 5c5e140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "InteractiveDynamics"
uuid = "ec714cd0-5f51-11eb-0b6e-452e7367ff84"
repo = "https://github.com/JuliaDynamics/InteractiveDynamics.jl.git"
version = "0.20.2"
version = "0.20.3"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
3 changes: 1 addition & 2 deletions src/agents/abmplot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ function Makie.plot!(abmplot::_ABMPlot)

# Static preplot
if !isnothing(abmplot.static_preplot![])
static_plot = abmplot.static_preplot![](abmplot, model)
static_plot.inspectable[] = false
abmplot.static_preplot![](ax, model)
end

# Dispatch on type of agent positions
Expand Down

0 comments on commit 5c5e140

Please # to comment.