Comments (6)
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.
from agents.jl.
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?
from agents.jl.
I think you need to call figure
, otherwise it doesn't show it even if it computed it if I remember correctly
from agents.jl.
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?
from agents.jl.
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
from agents.jl.
yes that was it, thanks!
from agents.jl.
Related Issues (20)
- `ERROR: LoadError: Invalid text boundingbox` with colorbars/heatarrays
- Remove the blank axis for the space plot for a model with no space
- Create abmtime function for StandardABM HOT 17
- Fix reset button working in `abmexploration`
- Reconsider the deprecation of adding agents with an agent instance HOT 7
- A compactify macro to help to create a unique-type agent for multi-agent models HOT 8
- Schelling interactive exploration example ERROR: LoadError: UndefVarError: `MakieLayout` not defined HOT 8
- continuous-event/-time ABM? HOT 8
- flocking model example does not work HOT 3
- Documentation does not build
- Test suite sometimes does not pass in PRs HOT 3
- Deprecate `as, am, ac` keywords for longer, more descriptive names HOT 1
- [FR] make the `@agent` macro define pretty printing as well HOT 1
- Add comments to the agents.jl file
- Syntax check of `@multiagent` is not as correct as it should be: HOT 3
- Subtyping type parameterization does not work in `@multiagent`. HOT 13
- Changelog for v6 needs a dedcated deprecations section
- New DevDoc entry for making new ABM types HOT 2
- Models.jl removed from main in current build? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agents.jl.