From 0fe444ccd7fc9c1df9c7f15c44b0a80be19bbb15 Mon Sep 17 00:00:00 2001 From: zyxue Date: Sun, 14 Feb 2021 15:09:28 -0800 Subject: [PATCH] [ci][python] apply isort to examples/python-guide/plot_example.py #3958 --- examples/python-guide/plot_example.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/python-guide/plot_example.py b/examples/python-guide/plot_example.py index 0ec58a0dedf6..d30a11a04b77 100644 --- a/examples/python-guide/plot_example.py +++ b/examples/python-guide/plot_example.py @@ -1,7 +1,8 @@ # coding: utf-8 -import lightgbm as lgb import pandas as pd +import lightgbm as lgb + if lgb.compat.MATPLOTLIB_INSTALLED: import matplotlib.pyplot as plt else: