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")
|
||||
end
|
||||
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
|
||||
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")
|
||||
else
|
||||
push!(axesconf, "set key off")
|
||||
|
||||
end
|
||||
nothing
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user