Skip to content

Commit b967d24

Browse files
committed
flake8 fixes for tdi plotting.
1 parent efe5636 commit b967d24

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tseries/plotting.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,10 @@ def _maybe_convert_index(ax, data):
282282
# Do we need the rest for convenience?
283283

284284
def timeTicks(x, pos):
285-
d = datetime.timedelta(seconds=int(x/1e9))
285+
d = datetime.timedelta(seconds=int(x / 1e9))
286286
return str(d)
287287

288+
288289
def format_dateaxis(subplot, freq, index):
289290
"""
290291
Pretty-formats the date axis (x-axis).
@@ -327,5 +328,3 @@ def format_dateaxis(subplot, freq, index):
327328
subplot.xaxis.set_major_formatter(formatter)
328329
else:
329330
raise IOError('index type not supported')
330-
331-

0 commit comments

Comments
 (0)