Skip to content

Commit cf88620

Browse files
author
g
committed
updated deprecated imports
1 parent 0fd3cff commit cf88620

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)