-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
FIX: revert part of #11770 #13131
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
FIX: revert part of #11770 #13131
Conversation
SEC_PER_DAY = SEC_PER_HOUR * HOURS_PER_DAY | ||
SEC_PER_WEEK = SEC_PER_DAY * DAYS_PER_WEEK | ||
|
||
MUSECONDS_PER_DAY = 1e6 * SEC_PER_DAY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tacaswell Are all these constants needed? (in the original PR, it were only 4 that you removed)
@tacaswell any tests? can you add a whatsnew note? (can be something as simple as compat for .....issue because of incorrect tick display with mpl < 2.0....) |
c3d8f27
to
d4df66b
Compare
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.
Only took 4 force-pushes to get there. @jorisvandenbossche Added back the minimal set of constants to compute what was needed. What sort of test do you want for this? You merged the last one with out a test 👿 |
can u create something that failed on the previous and now works? just maybe a check on axis ticks or something simple |
thanks @tacaswell pls verify with mpl >= 2.0 when you have a chance. |
did we have an issue where this came up on pnadas side? or was only on mpl side? |
Only on the MPL tracker. |
Sorry i took to long to get a test in. On Fri, May 20, 2016, 10:37 Tom Augspurger [email protected] wrote:
|
np ideally if u can post a couple of assertions we can add something to prevente future regressions |
Reverts part of:
#11770
Closes:
matplotlib/matplotlib#6365
The mistake in #11770 was missing that pandas had a 1/us not 1/s
scaled bucket.