Merge branch 'bbs/horizontal-legends' of https://github.com/JuliaPlots/Plots.jl into bbs/horizontal-legends
This commit is contained in:
commit
d3a52eab49
@ -954,12 +954,7 @@ function pgfx_linestyle(linewidth::Real, color, α = 1, linestyle = :solid)
|
||||
)
|
||||
end
|
||||
|
||||
function pgfx_legend_col(s::Symbol)
|
||||
if s == :horizontal
|
||||
return -1
|
||||
end
|
||||
return 1
|
||||
end
|
||||
function pgfx_legend_col(s::Symbol) = s == :horizontal ? -1 : 1
|
||||
pgfx_legend_col(n) = n
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user