add legendtitlefont function

This commit is contained in:
Daniel Schwabeneder 2019-08-26 10:45:13 +02:00
parent 3fdf87a955
commit 89613bfee5

View File

@ -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],