Skip to content

Commit ad15851

Browse files
committed
pep 8 fix
1 parent 9b65519 commit ad15851

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/rcsetup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ def _validate_linestyle(ls):
12121212
'date.autoformatter.minute': ['%d %H:%M', validate_string],
12131213
'date.autoformatter.second': ['%H:%M:%S', validate_string],
12141214
'date.autoformatter.microsecond': ['%M:%S.%f', validate_string],
1215-
1215+
12161216
# To avoid overlapping date invervals, we can set the spacing in advance
12171217
# 'generous' is set to avoid overlapping, otherwise 'tight' by default
12181218
'autodatelocator.spacing' : ['tight', validate_string],

lib/matplotlib/tests/test_dates.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def test_datetime_daily_overlap():
629629
extensions=['png'])
630630
def test_datetime_monthly_overlap():
631631
# issue 7712 for overlapping monthly dates
632-
plt.rcParams['date.autoformatter.month'] = '%Y-%m'
632+
plt.rcParams['date.autoformatter.month'] = '%Y-%m'
633633
plt.rcParams["autodatelocator.spacing"] = "generous"
634634
dates = [datetime.datetime(2018, i, 1) for i in range(1, 11)]
635635
values = list(range(1, 11))

0 commit comments

Comments
 (0)