guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

46/49: gnu: Add python-cmyt.


From: guix-commits
Subject: 46/49: gnu: Add python-cmyt.
Date: Fri, 29 Mar 2024 11:15:29 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 0fd36bed26cd82b6b1330d839422ee090b11a37d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Mar 12 22:32:20 2024 +0000

    gnu: Add python-cmyt.
    
    * gnu/packages/python-xyz.scm (python-cmyt): New variable.
    
    Change-Id: I45caa38fc391fe7890f87f41b18d3cfa8da07c80
---
 gnu/packages/astronomy.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a898b98515..14b2c37343 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2056,6 +2056,31 @@ attempting to maintain ISTP compliance
 @end itemize")
     (license license:expat)))
 
+(define-public python-cmyt
+  (package
+    (name "python-cmyt")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cmyt" version))
+       (sha256
+        (base32 "1zabmckr1z637pfqqvlkj0asfqqvx2x92163dby8x0c8yiqgdvjb"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-colorspacious python-pytest python-pytest-mpl))
+    (propagated-inputs
+     (list python-matplotlib python-numpy))
+    (home-page "https://yt-project.org/";)
+    (synopsis "Matplotlib colormaps from the yt project")
+    (description
+     "This package provides a range of colormaps designed for scientific
+use with Matplotlib.  It includes perceptually uniform sequential colormaps 
such
+as @code{abre}, @code{dusk}, @code{kepl}, and @code{octarine}, as well as
+monochromatic sequential colormaps like @code{blue}, @code{green}, and
+@code{red}, and others (@code{algae}, @code{pastel}, and @code{xray}).")
+    (license license:bsd-3)))
+
 (define-public python-crds
   (package
     (name "python-crds")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]