diff --git a/src/args.jl b/src/args.jl index 309799df..98236b07 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1496,7 +1496,8 @@ function RecipesPipeline.preprocess_attributes!(plotattributes::AKW) end # fonts - for fontname in (:titlefont, :legend_title_font, :plot_titlefont, :colorbar_titlefont, :legend_font) + for fontname in + (:titlefont, :legend_title_font, :plot_titlefont, :colorbar_titlefont, :legend_font) args = RecipesPipeline.pop_kw!(plotattributes, fontname, ()) for arg in wraptuple(args) processFontArg!(plotattributes, fontname, arg) diff --git a/test/test_defaults.jl b/test/test_defaults.jl index 492bf7c0..a95f5940 100644 --- a/test/test_defaults.jl +++ b/test/test_defaults.jl @@ -95,7 +95,7 @@ end # testset @test Plots.legendfont(sp).color == sp[:foreground_color_subplot] # magic invocation - @test_nowarn sp = plot(;legendfont = 12)[1] + @test_nowarn sp = plot(; legendfont = 12)[1] @test sp[:legend_font_pointsize] == 12 @test Plots.legendfont(sp).pointsize == 12 end # testset