Skip to content

Commit 420e1b8

Browse files
committed
build(deps): update dependencies to ensure correct saving of brain connection frames
To guarantee proper operation of `save_brain_connection_frames`: - update plotly to >=6.1.1 - add kaleido >=1.0.0 - add loguru >=0.7.3 --- 构建(deps): 更新依赖使正确保存brain connec frames 为保证save_brain_connection_frames正确运行: - 更新plotly>=6.1.1 - 安装kaleido>=1.0.0 - 安装loguru>=0.7.3
1 parent 85423c6 commit 420e1b8

4 files changed

Lines changed: 194 additions & 13 deletions

File tree

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
]

0 commit comments

Comments
 (0)