increase right margin for outer legend
This commit is contained in:
parent
58bf14fc85
commit
85e5f2e971
@ -928,7 +928,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
|
|||||||
leg_str = string(sp[:legend])
|
leg_str = string(sp[:legend])
|
||||||
if occursin("outer", leg_str)
|
if occursin("outer", leg_str)
|
||||||
if occursin("right", leg_str)
|
if occursin("right", leg_str)
|
||||||
viewport_plotarea[2] -= legendw + 0.11
|
viewport_plotarea[2] -= legendw + 0.12
|
||||||
elseif occursin("left", leg_str)
|
elseif occursin("left", leg_str)
|
||||||
viewport_plotarea[1] += legendw + 0.11
|
viewport_plotarea[1] += legendw + 0.11
|
||||||
elseif occursin("top", leg_str)
|
elseif occursin("top", leg_str)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user