vegas-viz / Vegas

The missing MatPlotLib for Scala + Spark
MIT License
730 stars 98 forks source link

Specifying different color schemes #121

Open anitagraser opened 7 years ago

anitagraser commented 7 years ago

Does Vegas support specifying different color schemes than the default ones (as discribed in https://vega.github.io/vega-lite/docs/scale.html#scheme)? I'd be interested in setting the scheme to "Viridis" but couldn't find an example nor did I find anything in the Vegas source.

anitagraser commented 6 years ago

I'm assuming I'd have to somehow set a SequentialColorRangeString but configScale() seems to only accept SequentialColorRangeListString.