-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Made datetime handling in plotting code more general #1098
Conversation
14865de
to
4e9a668
Compare
ff35b4b
to
37f8605
Compare
Very happy with this refactor the code is no longer duplicated and now handles datetime types more consistently. Also added a bunch of unit tests just now. Ready to merge when tests pass. |
Ok, the tests have now passed. The changes look good and I am very happy to see the code simplified and the addition of new tests. Merging. |
hi small remark. testing with holoviews latest build, I get this error:
..; and the image is not displayed (on Jupyterlab-0.20.0), but that may not be an holoviews problem |
Thanks for the note, I'll make a PR with the fix now. |
further down, i see errors in statsmodels "The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead. |
Could this be triggered by some other dependency? I think it's probably seaborn, because holoviews does not import statsmodels directly. |
it's not triggered by holloviews, just meant that there may be a lot more deprecation warnings to chaze per holoviews with pandas-0.20.0rc1 |
I see, yes that makes sense, I'll try it out. |
oups ! it's a new kind of deprecation for me "FutureWarning". I new "DeprecationWarning" and "UserWarning" up to now. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Improves datetime handling for
datetime.datetime
andpd.tslib.Timestamp
types. Needs a bunch of unit tests.