From dbac1b72dc24dbae8dd0e45d2bef8b2456e1c9ea Mon Sep 17 00:00:00 2001 From: t-bltg Date: Wed, 7 Dec 2022 14:29:26 +0100 Subject: [PATCH] do not use `Dict{Stmbol,Any}` on match maps --- src/args.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/args.jl b/src/args.jl index 320c6c049..dfd688e49 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1692,7 +1692,7 @@ end # ----------------------------------------------------------------------------- # when a value can be `:match`, this is the key that should be used instead for value retrieval -const _match_map = KW( +const _match_map = Dict( :background_color_outside => :background_color, :legend_background_color => :background_color_subplot, :background_color_inside => :background_color_subplot, @@ -1722,7 +1722,7 @@ const _match_map = KW( ) # these can match values from the parent container (axis --> subplot --> plot) -const _match_map2 = KW( +const _match_map2 = Dict( :background_color_subplot => :background_color, :foreground_color_subplot => :foreground_color, :foreground_color_axis => :foreground_color_subplot,