Skip to content

Commit 22ddae9

Browse files
authored
Merge pull request #277 from rossbar/update-face-scipy
2 parents 7bdf684 + 1682d2b commit 22ddae9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

content/tutorial-svd.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ After this tutorial, you should be able to:
3838
In this tutorial, we will use a [matrix decomposition](https://en.wikipedia.org/wiki/Matrix_decomposition) from linear algebra, the Singular Value Decomposition, to generate a compressed approximation of an image. We'll use the `face` image from the [scipy.datasets](https://docs.scipy.org/doc/scipy/reference/datasets.html) module:
3939

4040
```{code-cell}
41-
# TODO: Rm try-except with scipy 1.10 is the minimum supported version
42-
try:
43-
from scipy.datasets import face
44-
except ImportError: # Data was in scipy.misc prior to scipy v1.10
45-
from scipy.misc import face
41+
from scipy.datasets import face
4642
4743
img = face()
4844
```

0 commit comments

Comments
 (0)