Update src/backends/pgfplotsx.jl
Co-authored-by: t-bltg <tf.bltg@gmail.com>
This commit is contained in:
parent
7b0677c3cc
commit
1430bf742e
@ -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