diff --git a/src/args.jl b/src/args.jl index 84f8a4bc..f9621d76 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1152,7 +1152,7 @@ const _match_map2 = KW( :foreground_color_guide => :foreground_color_subplot, :foreground_color_text => :foreground_color_subplot, :tickfontcolor => :foreground_color_text, - :guidefontcolor => :foreground_color_text, + :guidefontcolor => :foreground_color_guide, ) # properly retrieve from plt.attr, passing `:match` to the correct key diff --git a/src/utils.jl b/src/utils.jl index b9da48d5..c5a4baa0 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1015,7 +1015,7 @@ ignorenan_extrema(plt::Plot) = (xmin(plt), xmax(plt)) titlefont(sp::Subplot) = font( sp[:titlefontfamily], sp[:titlefontsize], - sp[:titlefont], + sp[:titlefontvalign], sp[:titlefonthalign], sp[:titlefontrotation], sp[:titlefontcolor], @@ -1024,7 +1024,7 @@ titlefont(sp::Subplot) = font( legendfont(sp::Subplot) = font( sp[:legendfontfamily], sp[:legendfontsize], - sp[:legendfont], + sp[:legendfontvalign], sp[:legendfonthalign], sp[:legendfontrotation], sp[:legendfontcolor], @@ -1033,7 +1033,7 @@ legendfont(sp::Subplot) = font( tickfont(ax::Axis) = font( ax[:tickfontfamily], ax[:tickfontsize], - ax[:tickfont], + ax[:tickfontvalign], ax[:tickfonthalign], ax[:tickfontrotation], ax[:tickfontcolor], @@ -1042,7 +1042,7 @@ tickfont(ax::Axis) = font( guidefont(ax::Axis) = font( ax[:guidefontfamily], ax[:guidefontsize], - ax[:guidefont], + ax[:guidefontvalign], ax[:guidefonthalign], ax[:guidefontrotation], ax[:guidefontcolor],