fix font calls

This commit is contained in:
Simon Christ 2021-10-20 11:14:02 +02:00
parent 7b0677c3cc
commit c001048ff6

View File

@ -982,22 +982,22 @@ titlefont(sp::Subplot) = font(;
color = sp[:titlefontcolor],
)
legendfont(sp::Subplot) = font(
sp[:legend_font_family],
sp[:legend_font_pointsize],
sp[:legend_font_valign],
sp[:legend_font_halign],
sp[:legend_font_rotation],
sp[:legend_font_color],
legendfont(sp::Subplot) = font(;
family = sp[:legend_font_family],
pointsize = sp[:legend_font_pointsize],
valign = sp[:legend_font_valign],
halign = sp[:legend_font_halign],
rotation = sp[:legend_font_rotation],
color = sp[:legend_font_color],
)
legendtitlefont(sp::Subplot) = font(
sp[:legend_title_font_family],
sp[:legend_title_font_pointsize],
sp[:legend_title_font_valign],
sp[:legend_title_font_halign],
sp[:legend_title_font_rotation],
sp[:legend_title_font_color],
legendtitlefont(sp::Subplot) = font(;
family = sp[:legend_title_font_family],
pointsize = sp[:legend_title_font_pointsize],
valign = sp[:legend_title_font_valign],
halign = sp[:legend_title_font_halign],
rotation = sp[:legend_title_font_rotation],
color = sp[:legend_title_font_color],
)
tickfont(ax::Axis) = font(;