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

Dflt autodateformat #5698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 4, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
STY: pep8
  • Loading branch information
tacaswell committed Dec 19, 2015
commit 324529ecd2cace6ddd68eb2b9de6820ca52023f9
8 changes: 5 additions & 3 deletions 8 lib/matplotlib/dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
unicode_literals)

from matplotlib.externals import six
from matplotlib.externals.six.moves import xrange, zip
from matplotlib.externals.six.moves import zip
from matplotlib import rcParams
import re
import time
Expand Down Expand Up @@ -689,8 +689,10 @@ def __init__(self, locator, tz=None, defaultfmt='%Y-%m-%d'):
DAYS_PER_MONTH: rcParams['date.autoformatter.month'],
1.0: rcParams['date.autoformatter.day'],
1. / HOURS_PER_DAY: rcParams['date.autoformatter.hour'],
1. / (MINUTES_PER_DAY): rcParams['date.autoformatter.minute'],
1. / (SEC_PER_DAY): rcParams['date.autoformatter.second'],}
1. / (MINUTES_PER_DAY):
rcParams['date.autoformatter.minute'],
1. / (SEC_PER_DAY):
rcParams['date.autoformatter.second']}

def __call__(self, x, pos=None):
locator_unit_scale = float(self._locator._get_unit())
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.