Update gaston.jl

This commit is contained in:
t-bltg 2021-08-01 00:21:13 +02:00 committed by GitHub
parent a3e1a43358
commit 92cad5376b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -428,7 +428,7 @@ 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(legendfont(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 key $(gaston_font(legendtitlefont(sp), rot=false, align=false))")