diff --git a/python-package/lightgbm/__init__.py b/python-package/lightgbm/__init__.py index 650bfd4b25d6..b679b3f665b5 100644 --- a/python-package/lightgbm/__init__.py +++ b/python-package/lightgbm/__init__.py @@ -16,7 +16,6 @@ from .sklearn import LGBMClassifier, LGBMModel, LGBMRanker, LGBMRegressor except ImportError: pass - try: from .plotting import create_tree_digraph, plot_importance, plot_metric, plot_split_value_histogram, plot_tree except ImportError: