JetBrains / lets-plot-kotlin

Grammar of Graphics for Kotlin
https://lets-plot.org/kotlin/
MIT License
419 stars 36 forks source link

Changing a default color palette #213

Open tklinchik opened 8 months ago

tklinchik commented 8 months ago

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.

alshan commented 8 months ago

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

tklinchik commented 8 months ago

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

alshan commented 8 months ago

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