Port of the new 'matplotlib' color maps ('viridis' - the default -, 'magma', 'plasma' and 'inferno') to 'R'. 'matplotlib' is a popular plotting library for 'python'. These color maps are designed in such a way that they will analytically be perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. They are also designed to be perceived by readers with the most common form of color blindness.


Manual: viridis.pdf
Vignette: Intro to the viridis color palette

Maintainer: Simon Garnier <garnier at njit.edu>

Author(s): Simon Garnier*, Noam Ross*, Bob Rudis*

Install package and any missing dependencies by running this line in your R console:


Depends R (>= 2.10), viridisLite(>=0.2.0)
Imports stats, ggplot2(>=1.0.1), gridExtra
Suggests hexbin(>=1.27.0), scales, MASS, knitr, dichromat, colorspace, rasterVis, httr, mapproj, vdiffr, svglite(>=1.2.0), testthat, covr, rmarkdown
Linking to

Package viridis
URL https://github.com/sjmgarnier/viridis
Task Views
Version 0.4.0
Published 2017-03-27
License MIT + file LICENSE
BugReports https://github.com/sjmgarnier/viridis/issues
NeedsCompilation no
CRAN checks viridis check results
Package source viridis_0.4.0.tar.gz