blob: 04b2f8612180309de8508f985b3f288bfbfa048d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, flit-core
, matplotlib
, pytestCheckHook
, numpy
, pandas
, pythonOlder
, scipy
}:
buildPythonPackage rec {
pname = "seaborn";
version = "0.12.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-ux6x1R0wlzaMGHw+8InAKI7B/oqhxp+zJMaKodAt9ME=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
matplotlib
numpy
pandas
scipy
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# incompatible with matplotlib 3.5
"TestKDEPlotBivariate"
"TestBoxPlotter"
"TestCatPlot"
"TestKDEPlotUnivariate"
"test_with_rug"
"test_bivariate_kde_norm"
] ++ lib.optionals (!stdenv.hostPlatform.isx86) [
# overly strict float tolerances
"TestDendrogram"
];
pythonImportsCheck = [
"seaborn"
];
meta = with lib; {
description = "Statistical data visualization";
homepage = "https://seaborn.pydata.org/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fridh ];
};
}
|