Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update abstract.jl solves #1045 #1059

Merged
merged 3 commits into from
Jul 17, 2024
Merged

Update abstract.jl solves #1045 #1059

merged 3 commits into from
Jul 17, 2024

Commits on Jul 15, 2024

  1. Update abstract.jl

    The culprit behind JuliaDynamics#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
    ```
    amynang authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    c0b989e View commit details
    Browse the repository at this point in the history
  2. fix issue with poly!

    Tortar authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    d902e39 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Update Project.toml

    Tortar authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a28412d View commit details
    Browse the repository at this point in the history