This patch is an excerpt of this upstream commit: commit 0a24478a550132f1882e5be5f5dbc0fc446a8a6c Author: Michael Waskom Date: Mon Dec 21 18:44:58 2020 -0500 Raise minimal supported Python to 3.7 and bump requirements (#2396) It fixes the failure of 'test_weights'. --- a/seaborn/tests/test_distributions.py +++ b/seaborn/tests/test_distributions.py @@ -709,21 +708,17 @@ class TestKDEPlotUnivariate: integral = integrate.trapz(ydata, np.log10(xdata)) assert integral == pytest.approx(1) - @pytest.mark.skipif( - LooseVersion(scipy.__version__) < "1.2.0", - reason="Weights require scipy >= 1.2.0" - ) def test_weights(self): x = [1, 2] weights = [2, 1] - ax = kdeplot(x=x, weights=weights) + ax = kdeplot(x=x, weights=weights, bw_method=.1) xdata, ydata = ax.lines[0].get_xydata().T - y1 = ydata[np.argwhere(np.abs(xdata - 1).min())] - y2 = ydata[np.argwhere(np.abs(xdata - 2).min())] + y1 = ydata[np.abs(xdata - 1).argmin()] + y2 = ydata[np.abs(xdata - 2).argmin()] assert y1 == pytest.approx(2 * y2) gnu/packages/agda.scm'>logtreecommitdiff
path: root/gnu/packages/agda.scm
AgeCommit message (Expand)Author
2021-12-17gnu: agda: Update to 2.6.2.1....* gnu/packages/agda.scm (agda): Update to 2.6.2.1. [arguments]: Don't explicitly return #t from phases. Tobias Geerinckx-Rice
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-10-08gnu: Update Haskell ecosystem....Bump packages’ versions to the lastest Stackage or Hackage release. Since packages are interdependent, do so in a single commit. 525 packages have been updated. These packages have been removed, because they fail to build, have no newer version available and no dependencies: corrode ghc-easytest ghc-edisonapi ghc-edisoncore ghc-pandoc-types ghc-regex-tdfa-text These have been removed, because they are no longer required: ghc-happy-1.19.9 ghc-prettyprinter-1.6 ghc-protolude-0.3 ghc-pandoc-citeproc and pandoc-citeproc have been removed, because pandoc does not use them any more. Co-authored-by: Xinglu Chen <public@yoctocell.xyz> Lars-Dominik Braun