Skip to content

Commit a62c090

Browse files
Merge pull request #857 from jarrodmillman/package-updates-jan-2026
Update packages
2 parents b2982c5 + ca52062 commit a62c090

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

intro/scipy/scipy_examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ plt.subplots_adjust(wspace=0.05, left=0.01, bottom=0.01, right=0.99, top=0.9);
110110

111111
```{code-cell}
112112
# Extract the 4th connected component, and crop the array around it
113-
sl = sp.ndimage.find_objects(labels == 4)
113+
sl = sp.ndimage.find_objects((labels == 4).astype(int))
114114
plt.figure(figsize=(3.5, 3.5))
115115
plt.imshow(sig[sl[0]])
116116
plt.title("Cropped connected component")

requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Requirements for notebooks / Binderhub
2-
numpy==2.2.5
3-
scipy==1.15.2
4-
matplotlib==3.10.1
5-
pandas==2.2.3
6-
scikit-learn==1.6.1
7-
scikit-image==0.25.2
2+
numpy==2.4.1
3+
scipy==1.17.0
4+
matplotlib==3.10.8
5+
pandas==3.0
6+
scikit-learn==1.8.0
7+
scikit-image==0.26
88
sympy==1.14.0
9-
statsmodels==0.14.4
9+
statsmodels==0.14.6
1010
seaborn==0.13.2
11-
pytest>=8.3
11+
pytest>=9.0
1212
sphinx
1313
sphinx-copybutton
14-
coverage>=7.6
14+
coverage>=7.13
1515
Pillow
1616
pooch
1717
ipython

0 commit comments

Comments
 (0)