diff --git a/Project.toml b/Project.toml index d37fa4cb..e8c4a3ed 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/agents/abmplot.jl b/src/agents/abmplot.jl index 486dc980..e0763fa5 100644 --- a/src/agents/abmplot.jl +++ b/src/agents/abmplot.jl @@ -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