-
Notifications
You must be signed in to change notification settings - Fork 8
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
MakieOutput Unknown error #248
Comments
Hi Nico, Yes I think I've changed the code as I've been using it (another reason I haven't registered it yet...) But there are a bunch of complicated multi-window examples here in my PhD script mess: |
And this code works for me: ruleset = Ruleset(Life())
# And the time-span for it to run
tspan = 1:100
# Create our own plots with Makie.jl
output = MakieOutput(rand(Bool, 200, 300); tspan, ruleset) do (; layout, frame)
image!(Axis(layout[1, 1]), frame; interpolate=false, colormap=:inferno)
end I made it so it passes a single object, the (I'm going to make a new documentation + makie fixes PR, thanks for the motivation) |
Ok I've pushed some more accurate docs to |
Awesome! Very much appreciated, I'm really banking on the cesar framework for my PhD project :) |
Hi,
I've been using MakieOutput and it works fine when used as the default visualisation (e.g.):
However, I cannot manage to make it work in the personalized fashion:
I always get the same error:
ERROR: MethodError: no method matching (::var"#37#38")(::DynamicGridsMakieExt.MakieSim)
The stacktrace shows ::var"#37#38" is associated to the f:: keyword:
Stacktrace:
MakieOutput(; frames::Vector{…}, running::Bool, extent::Extent{…}, ruleset::Ruleset{…}, extrainit::Dict{…}, interactive::Bool, figure::Figure, layout::GridLayout, inputgrid::GridLayout, f::var"#37#38", graphicconfig::Nothing, simdata::Nothing, ncolumns::Int64, sim_kw::@NamedTuple{}, slider_kw::@NamedTuple{}, kw::Base.Pairs{…}) at DynamicGridsMakieExt.jl
I've found f to be f=_plot! by default but I don't know what other arguments it can take nor if the solution lies there.
Ps: I have tried the example in the documentation and it throws the exact same error so idk.
Here the example for ease:
Thank you,
Nico
The text was updated successfully, but these errors were encountered: