lets-plot-kotlin icon indicating copy to clipboard operation
lets-plot-kotlin copied to clipboard

Changing a default color palette

Open tklinchik opened this issue 2 years ago • 3 comments

Is there a way to change default color palette to apply to all plots? I've looked through many examples and couldn't find the way to update the default.

tklinchik avatar Oct 10 '23 18:10 tklinchik

The default color palette is not configurable at the moment. Could be a good featue.

alshan avatar Oct 10 '23 19:10 alshan

Agree. Is there a way to apply color palette such as Set2 to a single plot?

tklinchik avatar Oct 10 '23 19:10 tklinchik

Absolutely, try to use scaleColorBrewer() / scaleFillBrewer() with your plot.

alshan avatar Oct 10 '23 20:10 alshan