Choosing Colors and Legend in AlgebraOfGraphics

Try:

  1. Make the layer and assign to an object:

    plt = data(...) * mapping(...) * density() ....
    
  2. Call draw on that layer with the palettes keyword argument:

    draw(plt; palettes=(; color=ColorSchemes.Set1_3.colors))
    
1 Like