I am getting familiar with the Plots recipes ecosystem, and I just wrote my first recipe but the attribute “legendfonthalign” does not seem to work. Does anyone know how to do it?
Here is a MWE
@recipe function f(g::CVEpdfPlot) legend --> false legendfonthalign := :right # this should work!!! right? grid := false linewidth := 1 linestyle := :solid @series begin seriestype := :density [g.args...] end end
And when I call that plot (with some extra features, like the rainbow color) I get this,with the legend text aligned to the :left ,
what maybe happening?