Skip to content

Commit f7f8464

Browse files
author
Halvani
committed
Merge branch 'main' of github.com:Halvani/constituent_treelib
2 parents 266fc08 + 99d7ce1 commit f7f8464

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

constituent_treelib/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
# Package imports
1616
from .errors import *
17-
from .export import export_figure
1817

1918

2019
class Structure(Enum):
@@ -861,7 +860,7 @@ def export_tree(self, destination_filepath: str, wkhtmltopdf_bin_filepath: str =
861860
verbose: If set to True, a short message about whether the output file creation was
862861
successful is displayed.
863862
"""
864-
863+
from .export import export_figure
865864
export_figure(self.nltk_tree,
866865
destination_filepath=destination_filepath,
867866
wkhtmltopdf_bin_filepath=wkhtmltopdf_bin_filepath,

0 commit comments

Comments
 (0)