Skip to content

Commit 2fc6e64

Browse files
committed
STY: placate style checkers
1 parent 2cb8655 commit 2fc6e64

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,8 @@ def clf(*, fig=None):
968968

969969

970970
def draw(*, fig=None):
971-
"""Redraw the current figure.
971+
"""
972+
Redraw the current figure.
972973
973974
This is used to update a figure that has been altered, but not
974975
automatically re-drawn. If interactive mode is on (via `.ion()`), this

tools/boilerplate.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,11 @@ def generate_function(name, called_fullname, template, implicit_input,
168168
params = list(signature.parameters.values())[1:]
169169
param_tail = []
170170
if implicit_input is not None:
171-
param_tail.append(inspect.Parameter(name=implicit_input,
172-
default=None,
173-
kind=inspect.Parameter.KEYWORD_ONLY))
171+
param_tail.append(
172+
inspect.Parameter(name=implicit_input,
173+
default=None,
174+
kind=inspect.Parameter.KEYWORD_ONLY)
175+
)
174176
param_tail.extend(
175177
[p for p in params
176178
if p.kind is inspect.Parameter.VAR_KEYWORD])

0 commit comments

Comments
 (0)