Skip to content

Commit f9ad75d

Browse files
committed
fix(deps): vendor surfplot to lock specific commit 60c5000
- Remove `surfplot` from pyproject.toml dependencies. - Embed surfplot source code into `src/plotfig/externals/surfplot`. - Update internal imports to use the vendored version. - Locked to surfplot commit hash: 60c5000. Reason: To ensure stability and bypass PyPI limitations on direct git dependencies.
1 parent 2b9289a commit f9ad75d

13 files changed

Lines changed: 196213 additions & 53 deletions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ authors = [
99
{ name = "Ricardo Ryn", email = "ricardoRyn1317@gmail.com" }
1010
]
1111
dependencies = [
12+
"brainspace>=0.1.22",
1213
"imageio>=2.37.2",
1314
"kaleido>=1.0.0",
1415
"loguru>=0.7.3",
@@ -18,7 +19,6 @@ dependencies = [
1819
"plotly>=6.3.0",
1920
"pycirclize>=1.10.0",
2021
"scipy>=1.16.1",
21-
"surfplot==0.3.0rc0",
2222
"tqdm>=4.67.1",
2323
]
2424

src/plotfig/brain_surface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import nibabel as nib
77
import numpy as np
88
from matplotlib.axes import Axes
9-
from surfplot import Plot
9+
from plotfig.externals.surfplot import Plot
1010

1111
Num: TypeAlias = float | int
1212

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from .plotting import Plot
2+
3+
__version__ = '0.2.0'
4+
5+
__all__ = ['Plot']

0 commit comments

Comments
 (0)