Closed manentai closed 5 months ago
I think you need to update to v5.17.2 to solve the issue. There we have downgraded Makie so that it works fine as before.
thank you @Tortar , the error is resolved on my Mac, but nothing pops up, I just get the info below in console:
(Scene (1200px, 800px):
1 Plot:
└ Combined{Makie.tooltip, Tuple{Point{2, Float32}}}
6 Child Scenes:
├ Scene (1200px, 800px)
├ Scene (1200px, 800px)
├ Scene (1200px, 800px)
├ Scene (1200px, 800px)
├ Scene (1200px, 800px)
└ Scene (1200px, 800px), ABMObservable with model:
UnremovableABM with 320 agents of type SchellingAgent
space: GridSpaceSingle with size (20, 20), metric=chebyshev, periodic=false
scheduler: Agents.Schedulers.Randomly
properties: min_to_be_happy
and with data collection:
adata: nothing
mdata: nothing)
julia>
might it be because I am in VSCode?
I think you need to call figure
, otherwise it doesn't show it even if it computed it if I remember correctly
at least in VSCode on a Mac Sonoma, only thing that happens when I call figure
is a static plot like in figure, but I cannot move anything nor start the simulation:
am I missing something else maybe?
I think this is because you are importing CairoMakie
, try to change
using Agents, GLMakie, CairoMakie, Random # for reproducibility
in
using Agents, GLMakie, Random # for reproducibility
yes that was it, thanks!
Describe the bug I am trying to run abmexploration on the schelling example and I get this:
Minimal Working Example This is the code I am using:
If the code is runnable, it will help us identify the problem faster.
I am on Julia 1.10, and I get the same error both on Mac OSX Sonoma, and on Ubuntu 20.04