From 37252ec5622f4e5c6468b631fd81e041cb4adbec Mon Sep 17 00:00:00 2001 From: David Gustavsson Date: Tue, 2 Mar 2021 10:07:49 +0100 Subject: [PATCH] Correct anchor order --- src/backends/pgfplotsx.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index c44afdbd..73e5d48f 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -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 (s,c) = sincosd(v[1]) anchors = [ - "north west" "north" "north east"; - "west" "center" "east"; "south west" "south" "south east"; + "west" "center" "east"; + "north west" "north" "north east"; ] if v[2] === :inner