Makie: Type recipe and default_theme

#1

I would like to add a default theme when plotting a custom type. I tried the following, but the default_theme method is never called:

using Makie
using AbstractPlotting

struct MyArrowData end

function AbstractPlotting.convert_arguments(P::Type{<:AbstractPlot}, o::MyArrowData)
    pos =  [randn(Point3f0) for _ in 1:100]
    vel =  [randn(Vec3f0) for _ in 1:100]
    AbstractPlotting.convert_arguments(P, pos, vel)
end

function AbstractPlotting.default_theme(scene, ::Type{<:MyArrowData})
    Theme(
        linewidth=0.01,
        linecolor=:red,
    )
end

arrows(MyArrowData())