allow legend to be outside for pgfplots()

This commit is contained in:
Huckleberry Febbo 2017-11-14 13:43:17 -05:00
parent e48831d092
commit ae37dce0f3
2 changed files with 2 additions and 1 deletions

View File

@ -1002,7 +1002,7 @@ function convertLegendValue(val::Symbol)
:best
elseif val in (:no, :none)
:none
elseif val in (:right, :left, :top, :bottom, :inside, :best, :legend, :topright, :topleft, :bottomleft, :bottomright)
elseif val in (:right, :left, :top, :bottom, :inside, :best, :legend, :topright, :topleft, :bottomleft, :bottomright, :outertopright)
val
else
error("Invalid symbol for legend: $val")

View File

@ -94,6 +94,7 @@ const _pgfplots_legend_pos = KW(
:bottomright => "south east",
:topright => "north east",
:topleft => "north west",
:outertopright => "outer north east",
)