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

flocking model example does not work #951

Closed
lmiq opened this issue Jan 5, 2024 · 3 comments · Fixed by #934
Closed

flocking model example does not work #951

lmiq opened this issue Jan 5, 2024 · 3 comments · Fixed by #934
Labels
bug Something isn't working dependencies related to dependencies plotting
Milestone

Comments

@lmiq
Copy link
Contributor

lmiq commented Jan 5, 2024

The flocking model example is not working, because the Polygon type apparently is not available anymore in Makie:

julia> const bird_polygon = Makie.Polygon(Point2f[(-1, -1), (2, 0), (-1, 1)])
ERROR: UndefVarError: `Polygon` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[16]:1

(jl_rogOgj) pkg> st
Status `/tmp/jl_rogOgj/Project.toml`
  [46ada45e] Agents v5.17.1
  [13f3f980] CairoMakie v0.11.4
  [ee78f7c6] Makie v0.20.3

julia> Makie.Polygon
ERROR: UndefVarError: `Polygon` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[21]:1

@Tortar Tortar added bug Something isn't working dependencies related to dependencies plotting labels Jan 6, 2024
@Tortar
Copy link
Member

Tortar commented Jan 6, 2024

mmmh, It seems like that pinning the version of Makie should be the right choice to avoid these problems in the future

@Tortar Tortar added this to the v6.0 milestone Jan 14, 2024
@Tortar
Copy link
Member

Tortar commented Jan 14, 2024

Adding to v6.0 because we will update anyway to Makie 0.20 (even if the released version now includes the previous version of Makie so flocking should work)

@fbanning
Copy link
Member

This issue should be fixed with #934

@Tortar Tortar linked a pull request Jan 15, 2024 that will close this issue
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies related to dependencies plotting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants