From 89613bfee5de8b844664a06b523552cbc7455e4c Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Mon, 26 Aug 2019 10:45:13 +0200 Subject: [PATCH] add legendtitlefont function --- src/utils.jl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/utils.jl b/src/utils.jl index c9bb3655..68fb6056 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1060,6 +1060,15 @@ legendfont(sp::Subplot) = font( sp[:legendfontcolor], ) +legendtitlefont(sp::Subplot) = font( + sp[:legendtitlefontfamily], + sp[:legendtitlefontsize], + sp[:legendtitlefontvalign], + sp[:legendtitlefonthalign], + sp[:legendtitlefontrotation], + sp[:legendtitlefontcolor], +) + tickfont(ax::Axis) = font( ax[:tickfontfamily], ax[:tickfontsize],