Skip to content

Commit 5d3f31c

Browse files
committed
remove six import
1 parent 465dc4b commit 5d3f31c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mglearn/plot_interactive_tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from sklearn.tree import DecisionTreeClassifier
55

6-
from sklearn.externals.six import StringIO # doctest: +SKIP
6+
from io import StringIO
77
from sklearn.tree import export_graphviz
88
from imageio import imread
99
from scipy import ndimage

preamble.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from cycler import cycler
77

88
set_matplotlib_formats('pdf', 'png')
9-
plt.rcParams['figure.dpi'] = 300
9+
plt.rcParams['savefig.dpi'] = 300
1010
plt.rcParams['image.cmap'] = "viridis"
1111
plt.rcParams['image.interpolation'] = "none"
1212
plt.rcParams['savefig.bbox'] = "tight"

0 commit comments

Comments
 (0)