mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add viridis.
* gnu/packages/statistics.scm (r-viridis): New variable.
This commit is contained in:
parent
d547ce5e70
commit
a28d646b63
1 changed files with 26 additions and 0 deletions
|
@ -1887,3 +1887,29 @@ (define-public r-matrixstats
|
||||||
memory usage.")
|
memory usage.")
|
||||||
(license license:artistic2.0)))
|
(license license:artistic2.0)))
|
||||||
|
|
||||||
|
(define-public r-viridis
|
||||||
|
(package
|
||||||
|
(name "r-viridis")
|
||||||
|
(version "0.3.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (cran-uri "viridis" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0zz9i874s1fwhl9bcbiprlzaz7zsy1rj6c729zn3k525d63qbnj7"))))
|
||||||
|
(build-system r-build-system)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("r-ggplot2" ,r-ggplot2)
|
||||||
|
("r-gridextra" ,r-gridextra)))
|
||||||
|
(home-page "https://github.com/sjmgarnier/viridis")
|
||||||
|
(synopsis "Matplotlib default color map")
|
||||||
|
(description
|
||||||
|
"This package is a port of the new @url{matplotlib,
|
||||||
|
http://matplotlib.org/} color maps (@code{viridis}--the default--,
|
||||||
|
@code{magma}, @code{plasma}, and @code{inferno}) to R. 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.")
|
||||||
|
(license license:x11)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue