Skip to content

Commit 3ee6c3a

Browse files
committed
fix ruff
1 parent e3d3c56 commit 3ee6c3a

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

matplotlib_inline/backend_inline.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@
44
# Distributed under the terms of the BSD 3-Clause License.
55

66
import matplotlib
7+
from IPython.core.getipython import get_ipython
8+
from IPython.core.interactiveshell import InteractiveShell
9+
from IPython.core.pylabtools import select_figure_formats
10+
from IPython.display import display
711
from matplotlib import colors
12+
from matplotlib._pylab_helpers import Gcf
813
from matplotlib.backends import backend_agg
914
from matplotlib.backends.backend_agg import FigureCanvasAgg
10-
from matplotlib._pylab_helpers import Gcf
1115
from matplotlib.figure import Figure
1216

13-
from IPython.core.interactiveshell import InteractiveShell
14-
from IPython.core.getipython import get_ipython
15-
from IPython.core.pylabtools import select_figure_formats
16-
from IPython.display import display
17-
1817
from .config import InlineBackend
1918

2019

matplotlib_inline/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Copyright (c) IPython Development Team.
77
# Distributed under the terms of the BSD 3-Clause License.
88

9+
from traitlets import Bool, Dict, Instance, Set, TraitError, Unicode
910
from traitlets.config.configurable import SingletonConfigurable
10-
from traitlets import Dict, Instance, Set, Bool, TraitError, Unicode
1111

1212

1313
# Configurable for inline backend options

0 commit comments

Comments
 (0)