Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 324529e

Browse filesBrowse files
committed
STY: pep8
1 parent 1849626 commit 324529e
Copy full SHA for 324529e

File tree

Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-3
lines changed

‎lib/matplotlib/dates.py

Copy file name to clipboardExpand all lines: lib/matplotlib/dates.py
+5-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.