-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: invert_xaxis (negative tot_sec) triggers MilliSecondLocator (#3990) #3991
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
BUG: invert_xaxis (negative tot_sec) triggers MilliSecondLocator (#3990) #3991
Conversation
Do you think this is a correct fix? |
didn't see this....does this resolve the issue? @cpcloud can you take a look? |
there must be a reason that they are negative @jorisvandenbossche can you explain why this fixes the problem? the |
e.g.
that doesn't like a case of "i forgot to |
For me this resolves the issue (but I submitted the patch of course :-) Although I don't really know if I could write a test for it.
Some more details with references to code: |
makes sense @jreback i think this is ok. |
@jorisvandenbossche thanks for the explanation! |
ok.. |
OK, will do when I get home. Thanks for the look at it! |
I updated the commit with release notes. So for me it is ready to merge. As I said in the issue, the only thing I don't understand is why the bug does not appear when using pandas plot method to create the axes object (so |
ok....merging...thansk...keep us apprised if there are any addtl issues, or if you figure out the above (you can't open in issue if you want) |
BUG: invert_xaxis (negative tot_sec) triggers MilliSecondLocator (#3990)
Solves issue #3990.
Negative timedelta for xaxis range will no longer trigger MilliSecondLocator.