How do I make a Makie.jl recipe which defaults to 3D rendering?

I have a recipe that used to run fine with Makie 0.15. In the current Makie version (0.21) it renders as 2D unless I pass the keyword argument axis=(type=Makie.Axis3,). How can I make 3D rendering the default?

Makie.preferred_axis_type(::YourRecipe) = LScene
# Or depending on the argumens:
Makie.args_preferred_axis(::YourRecipe, args::YourTypes...) = ...
2 Likes

Thanks!