gnu: Add python-statannot.

* gnu/packages/python-science.scm (python-statannot): New variable.
This commit is contained in:
Ricardo Wurmus 2021-03-12 13:34:13 +01:00
parent 5fa4814b4f
commit 4d0fdde344
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
@ -531,3 +531,29 @@ (define-public python-msgpack-numpy
by numpy using the highly efficient @code{msgpack} format. Serialization of
Python's native complex data types is also supported.")
(license license:bsd-3)))
(define-public python-statannot
(package
(name "python-statannot")
(version "0.2.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "statannot" version))
(sha256
(base32
"1f8c2sylzr7lpjbyqxsqlp9xi8rj3d8c9hfh98x4jbb83zxc4026"))))
(build-system python-build-system)
(propagated-inputs
`(("python-numpy" ,python-numpy)
("python-seaborn" ,python-seaborn)
("python-matplotlib" ,python-matplotlib)
("python-pandas" ,python-pandas)
("python-scipy" ,python-scipy)))
(home-page
"https://github.com/webermarcolivier/statannot")
(synopsis "Add annotations to existing plots generated by seaborn")
(description
"This is a Python package to compute statistical test and add statistical
annotations on an existing boxplots and barplots generated by seaborn.")
(license license:expat)))