guix_mirror_bot pushed a commit to branch astro-update
in repository guix.
commit f2a04a273d0f2404ec3944adf547c3a36110fc33
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 16 09:30:17 2026 +0000
gnu: Add python-cmasher.
* gnu/packages/python-science.scm (python-cmasher): New variable.
Change-Id: I74c8ad6f9170b34b8c4fd1760c2ca3ba90d2a1f5
---
gnu/packages/python-science.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index fc6eaa1941..38bfa7e369 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -648,6 +648,35 @@ numerical solver for convex optimization problems using a
novel homogeneous
embedding.")
(license license:asl2.0)))
+(define-public python-cmasher
+ (package
+ (name "python-cmasher")
+ (version "1.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cmasher" version))
+ (sha256
+ (base32 "1xbzyla0l5i5vv86q4vwv33qmqzfzhhj6zry1lhy6ikir37c543c"))))
+ (build-system pyproject-build-system)
+ ;; tests: 65 passed, 2 skipped
+ (native-inputs
+ (list python-pytest
+ python-hatchling))
+ (propagated-inputs
+ (list python-colorspacious
+ python-matplotlib
+ python-numpy))
+ (home-page "https://cmasher.readthedocs.io")
+ (synopsis "Scientific colormaps utilities")
+ (description
+ "The CMasher package provides a collection of scientific colormaps and
utility
+functions to be used by different Python packages and projects, mainly in
+combination with Matplotlib. It offers several alternatives to commonly used
+colormaps, like chroma and rainforest for jet; sunburst for hot; neutral for
+binary; and fusion and redshift for coolwarm.")
+ (license license:bsd-3)))
+
(define-public python-cmocean
(package
(name "python-cmocean")