Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update abstract.jl The culprit behind #1045 was the use of poly! for user defined polygons. As a first step, I replaced it with `scatter!(p, p.pos; p.color, p.marker, p.markersize, p.agentsplotkwargs...)` and generating the plot with the custom polygon worked. In that case I think the whole if else statement is no longer necessary so I removed it. ``` if user_used_polygons(p.agent_marker[], p.marker[]) poly!(p, p.marker; p.color, p.marker, p.markersize, p.agentsplotkwargs...) else scatter!(p, p.pos; p.color, p.marker, p.markersize, p.agentsplotkwargs...) end ``` * fix issue with poly! * Update Project.toml --------- Co-authored-by: Adriano Meligrana <[email protected]>
- Loading branch information