Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not use Dict{Symbol,Any} on match maps #4585

Merged
merged 1 commit into from
Dec 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/args.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down