JuliaDynamics / Agents.jl

Agent-based modeling framework in Julia
https://juliadynamics.github.io/Agents.jl/stable/
MIT License
712 stars 114 forks source link

Deprecate `as, am, ac` keywords for longer, more descriptive names #964

Closed Datseris closed 4 months ago

Datseris commented 5 months ago

I think we should deprecate the as, am, ac keywords of our main plotting function and call them instead agent_size, agent_color, agent_marker. Deprecation is easy for keyword arguments:

function f(; as = default, agent_size = as)
if as != default
@warn("as deprecated")
end
end

The rest of the keywords for the plotting function are not as cryptic.

Datseris commented 5 months ago

This should be done after #934 I pressume.