The following code fails:
using GLMakie, AbstractPlotting, AbstractPlotting.MakieLayout
scene, layout = layoutscene(resolution = (840, 900))
Button(scene, label = "RESET")
with the following error:
julia> include("src/Minimal2.jl")
ERROR: LoadError: MethodError: no method matching (Button{ArgType} where ArgType)(::Scene; label="RESET")
Closest candidates are:
(::Type{var"#s199"} where var"#s199"<:AbstractPlot{Typ})(::SceneLike, ::Attributes, ::Any) where Typ at /home/ufechner/.julia/packages/AbstractPlotting/JCbJs/src/interfaces.jl:418 got unsupported keyword argument "label"
(::Type{var"#s199"} where var"#s199"<:AbstractPlot{Typ})(::SceneLike, ::Attributes, ::Any, ::Any) where Typ at /home/ufechner/.julia/packages/AbstractPlotting/JCbJs/src/interfaces.jl:439 got unsupported keyword argument "label"
(::Type{var"#s199"} where var"#s199"<:Combined)(::Any, ::Any, ::Any, ::Any, ::Any) at /home/ufechner/.julia/packages/AbstractPlotting/JCbJs/src/interfaces.jl:357 got unsupported keyword argument "label"
Stacktrace:
[1] top-level scope
@ ~/repos/KiteViewer/src/Minimal2.jl:4
[2] include(fname::String)
@ Base.MainInclude ./client.jl:444
[3] top-level scope
@ REPL[1]:1
in expression starting at /home/ufechner/repos/KiteViewer/src/Minimal2.jl:4
What am I doing wrong?