Correct anchor order

This commit is contained in:
David Gustavsson 2021-03-02 10:07:49 +01:00
parent 1d3e0a5d5d
commit 37252ec562

View File

@ -775,9 +775,9 @@ pgfx_get_legend_pos(theta::Real) = pgfx_get_legend_pos((theta,:inner))
function pgfx_get_legend_pos(v::Tuple{S,Symbol}) where S <: Real function pgfx_get_legend_pos(v::Tuple{S,Symbol}) where S <: Real
(s,c) = sincosd(v[1]) (s,c) = sincosd(v[1])
anchors = [ anchors = [
"north west" "north" "north east";
"west" "center" "east";
"south west" "south" "south east"; "south west" "south" "south east";
"west" "center" "east";
"north west" "north" "north east";
] ]
if v[2] === :inner if v[2] === :inner