From fda7cd0d73995efd0d8ef88c9fdf5bd25b6fdd22 Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <MichielCottaar@protonmail.com> Date: Mon, 20 May 2024 14:45:03 +0100 Subject: [PATCH] BUG: do not add textcolor to kwargs. Color is the keyword actually being used. --- ext/MakieMRIBuilder/MakieMRIBuilder.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/MakieMRIBuilder/MakieMRIBuilder.jl b/ext/MakieMRIBuilder/MakieMRIBuilder.jl index 3122c94..e6f4a0b 100644 --- a/ext/MakieMRIBuilder/MakieMRIBuilder.jl +++ b/ext/MakieMRIBuilder/MakieMRIBuilder.jl @@ -30,7 +30,7 @@ function Makie.plot!(scene:: Plot_Sequence) ]) text_kwargs = Dict([ key => scene[key] for key in [ - :textcolor, :font, :fonts, :fontsize + :font, :fonts, :fontsize ] ]) text_kwargs[:color] = map((a, c) -> a === MakieCore.automatic ? c : a, scene[:textcolor], scene[:color]) -- GitLab