aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-08 10:01:19 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-08 11:06:39 +0100
commit32d17c83e087d75726a40c1f09e8c7bb081cefa3 (patch)
tree0aba53bde1bdda84a60ea7c7abb4e52b35b24ea4
parent08fd08c6f262958f17820d235a5f08a21858056d (diff)
downloadguix-32d17c83e087d75726a40c1f09e8c7bb081cefa3.tar.gz
guix-32d17c83e087d75726a40c1f09e8c7bb081cefa3.zip
gnu: python-adjusttext: Move to python-science.
* gnu/packages/python-xyz.scm (python-adjusttext): Move from here ... * gnu/packages/python-science.scm: ... to here. Change-Id: If8c5fa89736dbf8ae29169fb317d43d2c2fbd682
-rw-r--r--gnu/packages/python-science.scm31
-rw-r--r--gnu/packages/python-xyz.scm25
2 files changed, 31 insertions, 25 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 98ec6834de..c7ae7d14a1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -180,6 +180,37 @@ scientific codes by steering the implementation towards usability and
maintainability.")
(license license:bsd-3)))
+(define-public python-adjusttext
+ (package
+ (name "python-adjusttext")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "adjusttext" version))
+ (sha256
+ (base32 "18dw5kqxan4m8kvw3w1lm0p69gj95i7rcgmcfs485x1s8pa5rdsa"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #false)) ;there are none
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-matplotlib
+ python-numpy
+ python-scipy))
+ (home-page "https://github.com/Phlya/adjustText")
+ (synopsis "Adjust text position in matplotlib plots to minimize overlaps")
+ (description
+ "Often when we want to label multiple points on a graph the text will
+start heavily overlapping with both other labels and data points. This can be
+a major problem requiring manual solution. However this can be largely
+automated by smart placing of the labels (difficult) or iterative adjustment
+of their positions to minimize overlaps (relatively easy). This library
+implements the latter option to help with matplotlib graphs.")
+ (license license:expat)))
+
(define-public python-algopy
(package
(name "python-algopy")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dfae2d6d03..7c47fdc8a5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1699,31 +1699,6 @@ Python dictionaries and provides a syntax to access nested dictionaries values
using a dot syntax, for example: @code{dictionary['deeply.nested.key']}.")
(license license:expat)))
-(define-public python-adjusttext
- (package
- (name "python-adjusttext")
- (version "1.3.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "adjusttext" version))
- (sha256
- (base32
- "18dw5kqxan4m8kvw3w1lm0p69gj95i7rcgmcfs485x1s8pa5rdsa"))))
- (build-system pyproject-build-system)
- (arguments (list #:tests? #false)) ;there are none
- (propagated-inputs (list python-matplotlib python-numpy python-scipy))
- (native-inputs (list python-setuptools python-wheel))
- (home-page "https://github.com/Phlya/adjustText")
- (synopsis "Adjust text position in matplotlib plots to minimize overlaps")
- (description
- "Often when we want to label multiple points on a graph the text will
-start heavily overlapping with both other labels and data points. This can be
-a major problem requiring manual solution. However this can be largely
-automated by smart placing of the labels (difficult) or iterative adjustment
-of their positions to minimize overlaps (relatively easy). This library
-implements the latter option to help with matplotlib graphs.")
- (license license:expat)))
-
(define-public python-affine
(package
(name "python-affine")