diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-22 00:13:15 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:16 +0100 |
| commit | 32bc3f76ba1d9bd46a0337ba8450e0de5cae6a74 (patch) | |
| tree | daa5b5e37527d1a95378700a001611b8c9163948 /gnu | |
| parent | 084ff827be63182b770659aad5acee51acbb3ea6 (diff) | |
gnu: Add python-arviz-plots.
* gnu/packages/statistics.scm (python-arviz-plots): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/statistics.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index b9fb681e834..f5891fd2c7b 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm | |||
| @@ -421,6 +421,55 @@ data storage, model checking, comparison and diagnostics. @code{arviz-base} | |||
| 421 | is the subpackage in charge of converters and base manipulation.") | 421 | is the subpackage in charge of converters and base manipulation.") |
| 422 | (license license:asl2.0))) | 422 | (license license:asl2.0))) |
| 423 | 423 | ||
| 424 | (define-public python-arviz-plots | ||
| 425 | (package | ||
| 426 | (name "python-arviz-plots") | ||
| 427 | (version "1.2.0") | ||
| 428 | (source | ||
| 429 | (origin | ||
| 430 | (method git-fetch) | ||
| 431 | (uri (git-reference | ||
| 432 | (url "https://github.com/arviz-devs/arviz-plots") | ||
| 433 | (commit (string-append "v" version)))) | ||
| 434 | (file-name (git-file-name name version)) | ||
| 435 | (sha256 | ||
| 436 | (base32 "0mrvz0916ks93fbpyrqrhn0xisc8gdiqmyf8g3g1m2y2d4nhfkqb")))) | ||
| 437 | (build-system pyproject-build-system) | ||
| 438 | (arguments | ||
| 439 | (list | ||
| 440 | #:test-flags | ||
| 441 | ;; RuntimeWarning: numpy.ndarray size changed, may indicate binary | ||
| 442 | ;; incompatibility. Expected 16 from C header, got 96 from PyObject | ||
| 443 | #~(list "--deselect=tests/test_plots.py::TestPlots::test_plot_khat_visuals" | ||
| 444 | ;; RuntimeWarning: numpy.ndarray size changed, may indicate | ||
| 445 | ;; binary incompatibility. Expected 16 from C header, got 96 | ||
| 446 | ;; from PyObject | ||
| 447 | "--deselect=tests/test_hypothesis_plots.py::test_plot_khat" | ||
| 448 | "--deselect=tests/test_plot_collection.py::TestFacetMap::test_aes" | ||
| 449 | "--deselect=tests/test_plot_collection.py::TestFacetMap::test_coords" | ||
| 450 | "--deselect=tests/test_plot_collection.py::TestMap::test_map_nan"))) | ||
| 451 | (native-inputs | ||
| 452 | (list python-flit-core | ||
| 453 | python-h5netcdf | ||
| 454 | python-hypothesis | ||
| 455 | python-pytest)) | ||
| 456 | (propagated-inputs | ||
| 457 | (list python-arviz-base | ||
| 458 | python-arviz-stats | ||
| 459 | ;; [optional] | ||
| 460 | python-bokeh | ||
| 461 | python-matplotlib | ||
| 462 | python-plotly | ||
| 463 | python-webcolors)) | ||
| 464 | (home-page "https://github.com/arviz-devs/arviz-plots") | ||
| 465 | (synopsis "ArviZ modular plotting") | ||
| 466 | (description | ||
| 467 | "ArviZ (pronounced @code{AR-vees}) is a Python package for exploratory | ||
| 468 | analysis of Bayesian models. It includes functions for posterior analysis, | ||
| 469 | data storage, model checking, comparison and diagnostics. @code{arviz-plots} | ||
| 470 | is the subpackage in charge of the visualizations.") | ||
| 471 | (license license:asl2.0))) | ||
| 472 | |||
| 424 | (define-public python-arviz-stats | 473 | (define-public python-arviz-stats |
| 425 | (package | 474 | (package |
| 426 | (name "python-arviz-stats") | 475 | (name "python-arviz-stats") |
