Skip to content

Commit f3e9628

Browse files
committed
fix for python38 with export_text
1 parent 10a8ff6 commit f3e9628

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

treeplot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
__author__ = 'Erdogan Tasksen'
1010
__email__ = '[email protected]'
11-
__version__ = '0.1.12'
11+
__version__ = '0.1.13'
1212

1313
# module level doc-string
1414
__doc__ = """

treeplot/treeplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
import zipfile
1414
import numpy as np
1515
from sklearn.tree import export_graphviz
16-
from sklearn.tree.export import export_text
16+
# from sklearn.tree.export import export_text
17+
from sklearn.tree import export_text
1718
from subprocess import call
1819
import matplotlib.image as mpimg
1920
import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)