From bf16a97cd59ff7aed33d1594f12261b0dd00cee7 Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Sun, 1 Aug 2021 01:16:41 +0200 Subject: [PATCH] Gaston: fix legendtitle --- src/backends/gaston.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index d101ea57..43367a59 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -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