Try:
-
Make the layer and assign to an object:
plt = data(...) * mapping(...) * density() .... -
Call
drawon that layer with thepaletteskeyword argument:draw(plt; palettes=(; color=ColorSchemes.Set1_3.colors))
Try:
Make the layer and assign to an object:
plt = data(...) * mapping(...) * density() ....
Call draw on that layer with the palettes keyword argument:
draw(plt; palettes=(; color=ColorSchemes.Set1_3.colors))