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
This commit is contained in:
Sharlatan Hellseher 2025-05-08 10:01:19 +01:00
parent 08fd08c6f2
commit 32d17c83e0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 31 additions and 25 deletions

View file

@ -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")

View file

@ -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")