Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 324529e

Browse files
committed
STY: pep8
1 parent 1849626 commit 324529e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/matplotlib/dates.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
unicode_literals)
114114

115115
from matplotlib.externals import six
116-
from matplotlib.externals.six.moves import xrange, zip
116+
from matplotlib.externals.six.moves import zip
117117
from matplotlib import rcParams
118118
import re
119119
import time
@@ -689,8 +689,10 @@ def __init__(self, locator, tz=None, defaultfmt='%Y-%m-%d'):
689689
DAYS_PER_MONTH: rcParams['date.autoformatter.month'],
690690
1.0: rcParams['date.autoformatter.day'],
691691
1. / HOURS_PER_DAY: rcParams['date.autoformatter.hour'],
692-
1. / (MINUTES_PER_DAY): rcParams['date.autoformatter.minute'],
693-
1. / (SEC_PER_DAY): rcParams['date.autoformatter.second'],}
692+
1. / (MINUTES_PER_DAY):
693+
rcParams['date.autoformatter.minute'],
694+
1. / (SEC_PER_DAY):
695+
rcParams['date.autoformatter.second']}
694696

695697
def __call__(self, x, pos=None):
696698
locator_unit_scale = float(self._locator._get_unit())

0 commit comments

Comments
 (0)