Create custom shapes in Makie.jl

Ok thanks, the following code worked

fig = Figure()
ax = Axis(fig[1, 1])

path_prova = BezierPath([
    MoveTo(1, 1), # Upper-right corner
    LineTo(0, 1), # Upper-left corner
    LineTo(0, 0), # Lower-left corner
    LineTo(1, 0), # Lower-right corner
    CurveTo(Point2f(0.5, 0.4), Point2f(0.5, 0.6), Point2f(1, 1)), # Upper-right corner
    ClosePath()
])

poly!(ax, path_prova; color=:black)

fig