Skip to content

Commit 58b57e0

Browse files
authored
Merge pull request #104 from WIAS-PDELib/mo/fix/plotslegend
Fix legend positions for Plots.jl
2 parents b48d932 + 83e2917 commit 58b57e0

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ext/GridVisualizePlotsExt.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,13 @@ function scalarplot!(ctx, TP::Type{PlotsType}, ::Type{Val{1}}, grids, parentgrid
228228
:none => :none,
229229
:best => :best,
230230
:lt => :topleft,
231-
:ct => :topcenter,
231+
:ct => :top,
232232
:rt => :topright,
233-
:lc => :centerleft,
234-
:rc => :centerright,
233+
:lc => :left,
234+
:cc => :inside,
235+
:rc => :right,
235236
:lb => :bottomleft,
236-
:cb => :bottomcenter,
237+
:cb => :bottom,
237238
:rb => :bottomright
238239
)
239240

0 commit comments

Comments
 (0)