Gaston: fix legendtitle
This commit is contained in:
parent
8ebe9e8204
commit
bf16a97cd5
@ -437,14 +437,12 @@ function gaston_set_legend!(axesconf, sp, any_label)
|
|||||||
occursin(position, string(leg)) && push!(axesconf, "set key $position")
|
occursin(position, string(leg)) && push!(axesconf, "set key $position")
|
||||||
end
|
end
|
||||||
if sp[:legendtitle] !== nothing
|
if sp[:legendtitle] !== nothing
|
||||||
push!(axesconf, "set key title '$(sp[:legendtitle])'") # $(gaston_font(legendfont(sp)))
|
push!(axesconf, "set key title '$(sp[:legendtitle])' $(gaston_font(legendtitlefont(sp)))")
|
||||||
end
|
end
|
||||||
push!(axesconf, "set key box lw 1 opaque")
|
push!(axesconf, "set key box lw 1 opaque")
|
||||||
# push!(axesconf, "set key $(gaston_font(legendtitlefont(sp), rot=false, align=false))")
|
|
||||||
push!(axesconf, "set border back")
|
push!(axesconf, "set border back")
|
||||||
else
|
else
|
||||||
push!(axesconf, "set key off")
|
push!(axesconf, "set key off")
|
||||||
|
|
||||||
end
|
end
|
||||||
nothing
|
nothing
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user