Is it possible to set the xlabel, ylabel and zlabel within a Makie recipe?
I am finishing a recipe for biplots, but can’t figure out how to set the labels of the axes to contain the variance explained. I would like to write Dim 1 (90%)
in the xlabel for example:
I tried to add a Makie.xlabel!(plot, "foo")
call inside the recipe but it errors:
ERROR: MethodError: no method matching getindex(::Combined{Biplots.biplot, Tuple{Matrix{Float64}}}, ::Type{OldAxis})
Closest candidates are:
getindex(::AbstractPlot, ::Symbol) at /home/juliohm/.julia/packages/MakieCore/S8PkO/src/attributes.jl:188
getindex(::AbstractPlot, ::UnitRange{var"#s14"} where var"#s14"<:Integer) at /home/juliohm/.julia/packages/MakieCore/S8PkO/src/attributes.jl:184
getindex(::AbstractPlot, ::Integer) at /home/juliohm/.julia/packages/MakieCore/S8PkO/src/attributes.jl:183
...
Stacktrace:
[1] xlabel!(scene::Combined{Biplots.biplot, Tuple{Matrix{Float64}}}, xlabel::String)