sjmgarnier / viridis

Colorblind-Friendly Color Maps for R
http://sjmgarnier.github.io/viridis
Other
294 stars 38 forks source link

added "option" to the ggplot2 scale_ functions #12

Closed hrbrmstr closed 9 years ago

hrbrmstr commented 9 years ago

they are in! (that didn't take long, mostly due to you and your well-crafted functions).

i added the gridExtra dependency since i used that 4 panel plot i posted on Twitter in one of the examples. if you don't want to have it as a dependency (totally reasonable not to) i can put either a \dontrun{} around it or make 4 separate plots. it's a pretty lightweight dependency tho (and most folks will have it installed already). i updated docs for the functions but did not bump the version # at all in DESCRIPTION.

I'll also keep watch over the new ggplot2 release date and get these functions in shape for that transition once it looms large.

nice work (again)!

sjmgarnier commented 9 years ago

It all looks great! The gridExtra dependency is fine. I use it regularly myself. Merging now.