Skip to content

Commit 4fdb061

Browse files
committed
PEP8
1 parent 3d29080 commit 4fdb061

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/cbook/__init__.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,8 @@ def pts_to_midstep(x, *args):
16391639
The x location of the steps. May be empty.
16401640
16411641
y1, ..., yp : array
1642-
y arrays to be turned into steps; all must be the same length as ``x``.
1642+
y arrays to be turned into steps; all must be the same length as
1643+
``x``.
16431644
16441645
Returns
16451646
-------
@@ -1715,7 +1716,8 @@ def safe_first_element(obj):
17151716

17161717
def sanitize_sequence(data):
17171718
"""Converts dictview object to list"""
1718-
return list(data) if isinstance(data, collections.abc.MappingView) else data
1719+
return (list(data) if isinstance(data, collections.abc.MappingView)
1720+
else data)
17191721

17201722

17211723
def normalize_kwargs(kw, alias_mapping=None, required=(), forbidden=(),

0 commit comments

Comments
 (0)