8000 PEP8: Shorten lines that are too long · matplotlib/matplotlib@5a99151 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a99151

Browse files
committed
PEP8: Shorten lines that are too long
1 parent f142835 commit 5a99151

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/backends/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def pylab_setup(name=None):
5151

5252
# the last argument is specifies whether to use absolute or relative
5353
# imports. 0 means only perform absolute imports.
54-
backend_mod = __import__(backend_name, globals(), locals(), [backend_name], 0)
54+
backend_mod = __import__(backend_name, globals(), locals(),
55+
[backend_name], 0)
5556

5657
# Things we pull in from all backends
5758
new_figure_manager = backend_mod.new_figure_manager
@@ -76,7 +77,8 @@ def do_nothing(*args, **kwargs):
7677

7778
show = getattr(backend_mod, 'show', do_nothing_show)
7879

79-
draw_if_interactive = getattr(backend_mod, 'draw_if_interactive', do_nothing)
80+
draw_if_interactive = getattr(backend_mod, 'draw_if_interactive',
81+
do_nothing)
8082

8183
matplotlib.verbose.report('backend %s version %s' %
8284
(name, backend_version))

0 commit comments

Comments
 (0)
0