CRAN

viridis 0.5.1

Default Color Maps from 'matplotlib'

Released Mar 29, 2018 by Simon Garnier

This package is available for Renjin and there are no known compatibility issues.

Dependencies

ggplot2 3.0.0 gridExtra 2.3 viridisLite 0.3.0

Implementation of the 'viridis' - the default -, 'magma', 'plasma', 'inferno', and 'cividis' color maps for 'R'. 'viridis', 'magma', 'plasma', and 'inferno' are ported from 'matplotlib' , a popular plotting library for 'python'. 'cividis', was developed by Jamie R. Nuñez and Sean M. Colby. 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 (all color maps in this package) and color vision deficiency ('cividis' only).

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>viridis</artifactId>
    <version>0.5.1-b10</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:viridis')

Test Results

This package was last tested against Renjin 0.9.2689 on Aug 25, 2018.