Skip to content

Commit abac5e9

Browse files
authored
MNT remove seaborn as dep, remove configure_plt, add matplotlib as an optional dep (#300)
1 parent 8569235 commit abac5e9

5 files changed

Lines changed: 3 additions & 39 deletions

File tree

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ branch = True
55
source = celer
66
include = */celer/*
77
omit = */setup.py
8-
*/celer/plot_utils.py
98

109
[report]
1110
exclude_lines =

celer/plot_utils.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/plot_group_lasso.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111

1212
from celer import GroupLassoCV, LassoCV
1313
from celer.datasets import make_correlated_data
14-
from celer.plot_utils import configure_plt
1514

1615
print(__doc__)
17-
configure_plt(fontsize=16)
1816

1917
# Generating X, y, and true regression coefs with 4 groups of 5 non-zero values
2018

examples/plot_lasso_cv.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
from sklearn.model_selection import KFold
1515

1616
from celer import LassoCV
17-
from celer.plot_utils import configure_plt
1817

1918
print(__doc__)
20-
configure_plt()
2119

2220
print("Loading data...")
2321
dataset = fetch_openml("leukemia")

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ build-backend = "setuptools.build_meta"
66
[project]
77
name = "celer"
88
dependencies =[
9-
'seaborn>=0.7', 'matplotlib>=2.0.0', 'libsvmdata>=0.3',
10-
'scikit-learn>=1.0', 'xarray', 'download', 'tqdm'
9+
'libsvmdata>=0.3', 'scikit-learn>=1.0', 'xarray', 'download', 'tqdm'
1110
]
1211
description = "A fast algorithm with dual extrapolation for sparse problems"
1312
authors = [
@@ -29,6 +28,6 @@ repository = "https://github.com/mathurinm/celer.git"
2928

3029
[project.optional-dependencies]
3130
doc = [
32-
"numpydoc", "pandas", "pillow",
31+
"numpydoc", "pandas", "pillow", "matplotlib",
3332
"furo", "sphinx-copybutton", "sphinx-gallery"
34-
]
33+
]

0 commit comments

Comments
 (0)