Skip to content

Commit d64fe47

Browse files
authored
Merge pull request #682 from mrava87/doc-scipymisc
doc: move from scipy.misc to scipy.datasets and add pooch as dependency
2 parents 7837aa8 + 3249b90 commit d64fe47

7 files changed

Lines changed: 9 additions & 3 deletions

environment-dev-arm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dependencies:
3535
- pytest-runner
3636
- setuptools_scm
3737
- pydata-sphinx-theme
38+
- pooch
3839
- sphinx-gallery
3940
- nbsphinx
4041
- sphinxemoji

environment-dev-gpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ dependencies:
2626
- pytest-runner
2727
- setuptools_scm
2828
- pydata-sphinx-theme
29+
- pooch
2930
- sphinx-gallery
3031
- nbsphinx
3132
- sphinxemoji

environment-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dependencies:
3636
- pytest-runner
3737
- setuptools_scm
3838
- pydata-sphinx-theme
39+
- pooch
3940
- sphinx-gallery
4041
- nbsphinx
4142
- sphinxemoji

examples/plot_bilinear.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77
import matplotlib.pyplot as plt
88
import numpy as np
9-
from scipy import misc
9+
from scipy import datasets
1010

1111
import pylops
1212

@@ -15,8 +15,8 @@
1515

1616
###############################################################################
1717
# First of all, we create a 2-dimensional input vector containing an image
18-
# from the ``scipy.misc`` family.
19-
x = misc.face()[::5, ::5, 0]
18+
# from the ``scipy.datasets`` family.
19+
x = datasets.face()[::5, ::5, 0]
2020
nz, nx = x.shape
2121

2222
###############################################################################

requirements-dev-gpu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pytest-runner
1111
setuptools_scm
1212
docutils<0.18
1313
Sphinx
14+
pooch
1415
pydata-sphinx-theme
1516
sphinx-gallery
1617
sphinxemoji

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pytest-runner
1616
setuptools_scm
1717
docutils<0.18
1818
Sphinx
19+
pooch
1920
pydata-sphinx-theme
2021
sphinx-gallery
2122
sphinxemoji

requirements-doc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pytest-runner
2222
setuptools_scm
2323
docutils<0.18
2424
Sphinx
25+
pooch
2526
pydata-sphinx-theme
2627
sphinx-gallery
2728
sphinxemoji

0 commit comments

Comments
 (0)