@@ -745,6 +745,31 @@ (define-public python-pymdown-extensions
Markdown. All extensions are found under the module namespace of pymdownx.")
(license license:expat)))
+(define-public python-plotext
+ (package
+ (name "python-plotext")
+ (version "5.2.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "plotext" version))
+ (sha256
+ (base32
+ "1kxqvxkzlqh8pggfvinhs4g8727r792b1p4d894pj7a9b3jqhccq"))))
+ (build-system python-build-system)
+ ;; tests pass when run manually with test() function after install
+ ;; tests fail when run automatically during build with error:
+ ;; plotext: error: argument type: invalid choice: 'test'
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs (list python-pillow))
+ (home-page "https://github.com/piccolomo/plotext")
+ (synopsis "2D plotting library for Python to plot directly on a terminal")
+ (description
+ "Plotext is a Python 2D plotting library which produces
+figures directly on a terminal with syntax similar to matplotlib and can save
+plots as text or as colored html.")
+ (license license:expat)))
+
(define-public python-plotille
(package
(name "python-plotille")
From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-xyz.scm (python-plotext): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)