Skip to content

Commit

Permalink
Fix color parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Jan 17, 2025
1 parent 84f1112 commit f5ce3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/PlottingExt/PlottingUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ atom_colors = let
]
# Workaround for absence of `mapvalues` in Julia
Dict(map(pairs) do (n, c)
(lowercase(n), Makie.color(c))
(lowercase(n), parse(Makie.Color, c))
end)
end

Expand Down

0 comments on commit f5ce3b0

Please sign in to comment.