Skip to content

Commit 5bb1c8a

Browse files
committed
STY: whitespace fixes
1 parent 5546eee commit 5bb1c8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ def _replacer(data, key):
14631463

14641464

14651465
def _preprocess_data(replace_names=None, replace_all_args=False,
1466-
label_namer=None, positional_parameter_names=None):
1466+
label_namer=None, positional_parameter_names=None):
14671467
"""
14681468
A decorator to add a 'data' kwarg to any a function. The signature
14691469
of the input function must include the ax argument at the first position ::

lib/matplotlib/testing/determinism.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def _determinism_save(objects='mhi', format="pdf", usetex=False):
4343
if 'h' in objects:
4444
# also use different hatch patterns
4545
ax2 = fig.add_subplot(1, 6, 2)
46-
bars = ax2.bar(range(1, 5), range(1, 5)) + \
47-
ax2.bar(range(1, 5), [6] * 4, bottom=range(1, 5))
46+
bars = (ax2.bar(range(1, 5), range(1, 5)) +
47+
ax2.bar(range(1, 5), [6] * 4, bottom=range(1, 5)))
4848
ax2.set_xticks([1.5, 2.5, 3.5, 4.5])
4949

5050
patterns = ('-', '+', 'x', '\\', '*', 'o', 'O', '.')

0 commit comments

Comments
 (0)