Hello everybody,
I’m trying to work through the Youtube Tutorial for Agents.jl (https://www.youtube.com/watch?v=fgwAfAa4kt0) but I got stuck.
When I tried plotting the model it worked fine but when I tried to change the color and the marker I got following Error:
“ERROR: MethodError: no method matching abm_plot(::AgentBasedModel{GridSpace{2, true}, Schelling, typeof(Agents.Schedulers.randomly), Dict{Symbol, Int64}, Random.TaskLocalRNG}; ac=groupcolor, am=groupmarker)
Closest candidates are:
abm_plot(::Any…) at /Applications/Julia-1.7.app/Contents/Resources/julia/share/julia/base/deprecated.jl:45 got unsupported keyword arguments “ac”, “am”
Stacktrace:
[1] top-level scope
@ ~/Documents/TU/Abschlussarbeit/Julia/Agents Tutorial/Tutorial.jl:87”
I don’t know why it won’t work, I already looked at my lines 45 and 87 but I’ve got the same code as the tutorial.
Screenshot:
Any suggestions what I did wrong? And why does my code color for some symbols look different than the one in the Video, do I need a package that I missed or is it just a color theme?
Greetings,
Floyd