From cf88620b9f96a78a65dd4e9ff11c8b131d91af0a Mon Sep 17 00:00:00 2001 From: g Date: Sun, 11 Feb 2018 14:24:45 -0800 Subject: [PATCH] updated deprecated imports --- mglearn/plot_animal_tree.py | 2 +- mglearn/plot_interactive_tree.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mglearn/plot_animal_tree.py b/mglearn/plot_animal_tree.py index a1e3a74..f710fad 100644 --- a/mglearn/plot_animal_tree.py +++ b/mglearn/plot_animal_tree.py @@ -1,4 +1,4 @@ -from scipy.misc import imread +from imageio import imread import matplotlib.pyplot as plt diff --git a/mglearn/plot_interactive_tree.py b/mglearn/plot_interactive_tree.py index dc408df..eb0a09e 100644 --- a/mglearn/plot_interactive_tree.py +++ b/mglearn/plot_interactive_tree.py @@ -5,7 +5,7 @@ from sklearn.externals.six import StringIO # doctest: +SKIP from sklearn.tree import export_graphviz -from scipy.misc import imread +from imageio import imread from scipy import ndimage from sklearn.datasets import make_moons