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
|
end
|
||||||
|
|
||||||
function pgfx_legend_col(s::Symbol)
|
function pgfx_legend_col(s::Symbol) = s == :horizontal ? -1 : 1
|
||||||
if s == :horizontal
|
|
||||||
return -1
|
|
||||||
end
|
|
||||||
return 1
|
|
||||||
end
|
|
||||||
pgfx_legend_col(n) = n
|
pgfx_legend_col(n) = n
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user