Skip to content

Commit 7e2fcae

Browse files
authored
Merge pull request amueller#72 from syckbear/master
updated deprecated imports - scipy.imread() to imageio.imread()
2 parents 8286ddf + cf88620 commit 7e2fcae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mglearn/plot_animal_tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from scipy.misc import imread
1+
from imageio import imread
22
import matplotlib.pyplot as plt
33

44

mglearn/plot_interactive_tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from sklearn.externals.six import StringIO # doctest: +SKIP
77
from sklearn.tree import export_graphviz
8-
from scipy.misc import imread
8+
from imageio import imread
99
from scipy import ndimage
1010
from sklearn.datasets import make_moons
1111

0 commit comments

Comments
 (0)