vegas-viz / Vegas

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

ConfigDSL.config is missing the apply(this) #97

Open tutnixzursache opened 7 years ago

tutnixzursache commented 7 years ago

I assume the method body should look like this: def config(viewport: OptArg[Double] = NoArg, background: OptArg[String] = NoArg, numberFormat: OptArg[String] = NoArg, timeFormat: OptArg[String] = NoArg, countTitle: OptArg[String] = NoArg) = { (_config composePrism _orElse(Config())).modify { c: Config => c.copy(viewport=viewport, background=background, numberFormat=numberFormat, timeFormat=timeFormat, countTitle=countTitle)(this) } } I found this issue while setting the background color to white.

Also it would be nice if you could update to the latest circe version. :-)