Interactive ABM plot with agents and GLMakie

I am trying to produce an interactive plot of an agent based model using GLMakie. I Have done this before no problem (a few months ago), but now when I run the code it just produces a static plot in VSCode.

I have been trying to get it working using the wolf-sheep tutorial but no joy… before spending excessive time trying to figure out the issue I thought I’d ask here in case something has changed recently that I have missed?

Any advice would be much appreciated!

Thanks @sdanisch , great package!

For anyone else, from the GitHub issues page @sdanisch linked. You just need to do the following to get the separate interactive plotting window: GLMakie.activate!(inline=false).

The solution above didn’t work for me on its own. I also needed to call display on the created figure before the interactive plotting window would appear (I was using vscode on Linux Ubuntu 22.04).