Skip to content

MNT: simplify AutoDateFormatter #11770

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 1 commit into from
Dec 8, 2015

Conversation

tacaswell
Copy link
Contributor

  • import constants from matplolib.dates
  • do not re-implement AutoDateFormatter functionality that
    is already upstream

 - import constants from matplolib.dates
 - do not re-implement AutoDateFormatter functionality that
   is already upstream
@jreback
Copy link
Contributor

jreback commented Dec 6, 2015

can you show an example of where this was doing the wrong thing? (e.g. a test for this)

@jreback jreback added the Visualization plotting label Dec 6, 2015
@tacaswell
Copy link
Contributor Author

There is nothing wrong, it just was an almost copy-paste job from mpl to pandas. This change should have 0 functional change.

@jreback jreback added the Clean label Dec 8, 2015
@jreback jreback added this to the 0.18.0 milestone Dec 8, 2015
@jreback
Copy link
Contributor

jreback commented Dec 8, 2015

ok, seems like we were just overriding mpl code. Since everything passed, this either was never tested (probably), or works ok :)

jreback added a commit that referenced this pull request Dec 8, 2015
@jreback jreback merged commit 3361a48 into pandas-dev:master Dec 8, 2015
@tacaswell tacaswell deleted the mnt_simplify_mpl branch December 8, 2015 16:14
30.: '%b %Y',
1.0: '%b %d %Y',
1. / 24.: '%H:%M:%S',
1. / 24. / 3600. / 1000.: '%H:%M:%S.%f'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found the difference between what was here and what is in MPL it is the extra 1000 in the last entry.

I will have a PR shortly.

tacaswell added a commit to tacaswell/pandas that referenced this pull request May 12, 2016
Reverts part of:

pandas-dev#11770

Closes:

matplotlib/matplotlib#6365

The mistake in pandas-dev#11770 was missing that pandas had a 1/us not 1/s
scaled bucket.
jreback pushed a commit that referenced this pull request May 20, 2016
revert part of #11770
xref: matplotlib/matplotlib#6365

closes #13131

The mistake in #11770 was missing that pandas had a 1/us not 1/s
scaled bucket.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants