Skip to content

Commit c81a6ae

Browse files
authored
Merge pull request #20 from RicardoRyn/dev
Dev
2 parents 8a989a7 + 83d46d7 commit c81a6ae

10 files changed

Lines changed: 1095 additions & 473 deletions

File tree

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ notebooks/
1818
# docs
1919
docs/changelog.md
2020

21-
# tests
22-
tests/
21+
tests/figures/*
2322

2423
# utils
2524
utils/

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ pip install .
5151

5252
`plotfig` 依赖若干核心库,这些依赖将在安装过程中自动处理:
5353

54-
- [matplotlib](https://matplotlib.org/) ≥ 3.10.
55-
- [mne-connectivity](https://mne.tools/mne-connectivity/stable/index.html) ≥ 0.7.
56-
- [nibabel](https://nipy.org/nibabel/) ≥ 5.3.
54+
- [matplotlib](https://matplotlib.org/) ≥ 3.10.1
55+
- [mne-connectivity](https://mne.tools/mne-connectivity/stable/index.html) ≥ 0.7.0
56+
- [nibabel](https://nipy.org/nibabel/) ≥ 5.3.2
5757
- [numpy](https://numpy.org/) ≥ 2.2.4
58-
- [pandas](https://pandas.pydata.org/) ≥ 2.2.
59-
- [plotly](https://plotly.com/) ≥ 6.0.1
60-
- [scipy](https://scipy.org/) ≥ 1.15.
58+
- [pandas](https://pandas.pydata.org/) ≥ 2.2.3
59+
- [plotly](https://plotly.com/) ≥ 6.1.1
60+
- [kaleido](https://github.com/plotly/Kaleido) ≥ 1.0.0
61+
- [scipy](https://scipy.org/) ≥ 1.15.2
62+
- [loguru](https://loguru.readthedocs.io/en/stable/) ≥ 0.7.3
6163
- [surfplot](https://github.com/danjgale/surfplot) 需使用其 GitHub 仓库中的最新版,而非 PyPI 上的版本,因后者尚未包含所需功能。
6264

6365
> ⚠️ **指定 `surfplot` 版本**

docs/installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ pip install .
2727
- [nibabel](https://nipy.org/nibabel/) ≥ 5.3.2
2828
- [numpy](https://numpy.org/) ≥ 2.2.4
2929
- [pandas](https://pandas.pydata.org/) ≥ 2.2.3
30-
- [plotly](https://plotly.com/) ≥ 6.0.1
30+
- [plotly](https://plotly.com/) ≥ 6.1.1
31+
- [kaleido](https://github.com/plotly/Kaleido) ≥ 1.0.0
3132
- [scipy](https://scipy.org/) ≥ 1.15.2
33+
- [loguru](https://loguru.readthedocs.io/en/stable/) ≥ 0.7.3
3234
- [surfplot](https://github.com/danjgale/surfplot) 需使用其 GitHub 仓库中的最新版,而非 PyPI 上的版本,因后者尚未包含所需功能。
3335

3436
!!! warning "指定 `surfplot` 版本"

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ authors = [
99
{ name = "Ricardo Ryn", email = "ricardoRyn1317@gmail.com" }
1010
]
1111
dependencies = [
12+
"kaleido>=1.0.0",
13+
"loguru>=0.7.3",
1214
"matplotlib>=3.10.1",
1315
"mne-connectivity>=0.7.0",
1416
"nibabel>=5.3.2",
1517
"numpy>=2.2.4",
1618
"pandas>=2.2.3",
17-
"plotly>=6.0.1",
19+
"plotly>=6.1.1",
1820
"scipy>=1.15.2",
1921
"surfplot",
2022
]

src/plotfig/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from .bar import (
22
plot_one_group_bar_figure,
33
plot_one_group_violin_figure,
4-
plot_one_group_violin_figure_old,
54
plot_multi_group_bar_figure,
65
)
76
from .correlation import plot_correlation_figure
@@ -23,7 +22,6 @@
2322
__all__ = [
2423
"plot_one_group_bar_figure",
2524
"plot_one_group_violin_figure",
26-
"plot_one_group_violin_figure_old",
2725
"plot_multi_group_bar_figure",
2826
"plot_correlation_figure",
2927
"plot_matrix_figure",

0 commit comments

Comments
 (0)