MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.41k stars 312 forks source link

Axis palette not picked up from theme #2048

Open SimonDanisch opened 2 years ago

SimonDanisch commented 2 years ago

in older Makie versions this worked and showed a red barplot:

with_theme(; Axis=(palette=(patchcolor=[:red],),)) do
        barplot(rand(10))
end

But on master it just ignores it:

image
JamesKai commented 8 months ago

I think this is related or the same issue, say I have the barplot theme

barplot_theme = Theme(
    BarPlot = (
        color=:black,
    )
)

with_theme(barplot_theme) do 
    ...
end 

The black color is not picked up