From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GJU7JoPJdWYQAQAA62LTzQ:P1 (envelope-from ) for ; Fri, 21 Jun 2024 18:42:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GJU7JoPJdWYQAQAA62LTzQ (envelope-from ) for ; Fri, 21 Jun 2024 20:42:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Q/eXNYAY"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718995331; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aCPIQcgM6nnj1C4Q7Gnqt8Zh7wrBwMnJqOQV7oZdnME=; b=GgzUiQ476x96oVhV8dTtpHp47fh4mU30R0SnVaYuJ7LMK1Hc1F0HKYG7M63TCrWrRYGrpy M1zLzmJUT6gLRgM4LDkqNawJKmmNS9a2RLTiu8KikaA6Ws9P1LBV5IkbqAqpXCO+h9v52X hYQ0Gxp/L9nvmBXBu6sFsHlRWuCb+hJ7UStijAvpg0+hc04GMzwU+Pqm79iV1cfWqT5FrJ J0BEmN5hZiO0bJwK227C8OC24Cy9loHi0kpNZHiwtwLt2nbswf835VDv5ZBnCyA4CiKcH9 D0jifsbzSeTClnZMxdQGXSGk/9PIt1lpiF3NRzCrG/XxyG8XKHdPIxB1UNXf2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Q/eXNYAY"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718995331; a=rsa-sha256; cv=none; b=ez5Hg1NVHY66N+Vbxvy51fBcsISq9wVjqEj3SR/jqkrFrs/MnCFTYpI6VW3XqmP+YxTJqQ 30+7/8oY2g80dZE4nWXxuhjPIxoWmFWVlDBzldfaOdHRhIXxmppCNnIQADarA91ju+3BkZ ShK0PMQLjk2R75XsfETxkhXSWf0P5LBEOi3/mDOI3H+aVCyuHMsZv+PR7xqf+RymV0JLsD eFLhr5gzgLlCyffINxxssLQX379+jl1GnWEnrYn40/BrI9/9nfz5q6024sQGG/5qczKZpz ZOKXzrnC7iBej8XPlvGYJJnpJIHfviwXunFhi2CgSHaDwOlZetACMdTDIcChRQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4AEAE6BEC2 for ; Fri, 21 Jun 2024 20:42:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKjCM-000060-Ht; Fri, 21 Jun 2024 14:41:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKjCK-00004z-9Y for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:20 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKjCK-0003S7-1O; Fri, 21 Jun 2024 14:41:20 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKjCA-0004TI-KM; Fri, 21 Jun 2024 14:41:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71702] [PATCH 22/30] gnu: Add python-corner. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 21 Jun 2024 18:41:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71702@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 71702-submit@debbugs.gnu.org id=B71702.171899524816884 (code B ref 71702); Fri, 21 Jun 2024 18:41:10 +0000 Received: (at 71702) by debbugs.gnu.org; 21 Jun 2024 18:40:48 +0000 Received: from localhost ([127.0.0.1]:43560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBn-0004OA-Rq for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:48 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:53455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBU-0004LB-Lr for 71702@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:29 -0400 Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-42189d3c7efso25882585e9.2 for <71702@debbugs.gnu.org>; Fri, 21 Jun 2024 11:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718995164; x=1719599964; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aCPIQcgM6nnj1C4Q7Gnqt8Zh7wrBwMnJqOQV7oZdnME=; b=Q/eXNYAYJup9FrDM6q/EvgxjS/OmZXwZR77Gn5dhfiu9B/tfPvfurImP6Y74Hs/4Wz MRIqae+9fHWG4V5sYmAfC32LU+1SF1LeyXXLP2nuAaSqyFJmavaybUldx++BCT1rXSoR NIjBOnub45jxBiKTeLxQ7nYDswHTmvDkAc//HTU7UP+MTAOX9JX6op7PxYrEn0BLFr1+ V3LfmkkfsMK3iO+9QnKbt4k1m3wZOsaBBHZnnZSRtAJu/AtcO7UrGsSO9UE2X54nRVDL BiLwWPU15ZrDVm2AJPidWOhFaMok1CsEwwIn+Q1fuQhry9Fzvq//GU9HF42L+mf1xd1w DFOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718995164; x=1719599964; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aCPIQcgM6nnj1C4Q7Gnqt8Zh7wrBwMnJqOQV7oZdnME=; b=Cp/F9yvgf9O/DesRLS2yezP35iSDMoU4acP+HK31c6jp5F/Xk7AWJPkfsLRM4dT7Ym 1nDXs4/oIdd2FzCk8qJsJXj1TGQxsndclqDVP2bE/vXwrnyZiz8dGek2c+PrJap6HO5R Qj0qYNxp+HOUHuDj7MswzSK9CGoyO+vagC8tBvaebjnP/hw2qVUkSjV5+zpVONsP/FdA LWhitA+/ldBm7B/x/awf1J9Mk1fH4GnFD75tFddaz9CzuQaVaPvKBfHJs+ST4DTVN/U1 2qbCD0InJgQGJtYRrsM+ueLXrM5bnDuqaMXt5BKJKfqv/jY1WT2vnaxyC6vtxiUDS6ty ekFQ== X-Gm-Message-State: AOJu0YyPbZxOG8JgVN1XNcfDCJZqFCt7MaK9zhlFK20vF3+za/cct7kG 4oOWkMX0N3ztibxZUshnWU7w2xpVLlIbEjF/Kbfe3J+Ei8GQfnad1t6jjODK X-Google-Smtp-Source: AGHT+IE0dwLyYGnlWuZ3pcokurgfJ0wowmUApjAaBztZGQRy7UxRQxkNjxD4OlxMf+n2LLhEVEnhFQ== X-Received: by 2002:a05:600c:3228:b0:422:e8d:e559 with SMTP id 5b1f17b1804b1-42475182638mr89321525e9.23.1718995163739; Fri, 21 Jun 2024 11:39:23 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4247d0b63d4sm76298985e9.3.2024.06.21.11.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:39:23 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 21 Jun 2024 19:38:44 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 4.14 X-Migadu-Queue-Id: 4AEAE6BEC2 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 4.14 X-TUID: IE7a6PmW8vd8 * gnu/packages/python-science.scm (python-corner): New variable. Change-Id: I75c3a88ba4b729fb7c9a50dd85a00b22cdcaa828 --- gnu/packages/python-science.scm | 57 +++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 58b7f3b3ee..401beecbcd 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -2872,6 +2872,63 @@ (define-public python-climin @command{numpy} and (partially) @command{gnumpy}.") (license license:bsd-3))) +(define-public python-corner + (package + (name "python-corner") + (version "2.2.2") + (source + (origin + (method git-fetch) ;no tests in PyPi archive + (uri (git-reference + (url "https://github.com/dfm/corner.py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1i4dk4jxh0saysya2cnsfwlxwpldbdl174i9pwi4qj82av9jr2ii")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list + ;; XXX: Disable tests which failed with mismatched images, check why. + "-k" (string-append "not test_labels[png]" + " and not test_title_quantiles[png]" + " and not test_title_quantiles_default[png]" + " and not test_title_quantiles_raises[png]" + " and not test_bins[png]" + " and not test_bins_log[png]" + " and not test_titles1[png]" + " and not test_titles2[png]" + " and not test_pandas[png]" + " and not test_tight[png]" + " and not test_extended_overplotting[png]" + " and not test_reverse_overplotting[png]" + " and not test_arviz[png]" + " and not test_range_fig_arg[png]")) + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'pretend-version + ;; XXX: Make sure you're either building from a fully intact git + ;; repository or PyPI tarballs. Most other sources (such as GitHub's + ;; tarballs, a git checkout without the .git folder) don't contain + ;; the necessary metadata and will not work. + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (propagated-inputs + (list python-matplotlib)) + (native-inputs + (list python-arviz python-pytest python-scipy python-setuptools-scm)) + (home-page "http://corner.readthedocs.io/") + (synopsis "Make some beautiful corner plots") + (description + "This Python module uses @code{matplotlib} to visualize multidimensional +samples using a scatterplot matrix. In these visualizations, each one- and +two-dimensional projection of the sample is plotted to reveal covariances. +corner was originally conceived to display the results of Markov Chain Monte +Carlo simulations and the defaults are chosen with this application in mind but +it can be used for displaying many qualitatively different samples.") + (license license:bsd-2))) + (define-public python-paramz (package (name "python-paramz") -- 2.41.0