Skip to content
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

Add support for datetime.date #2100

Closed
philippjfr opened this issue Nov 7, 2017 · 3 comments
Closed

Add support for datetime.date #2100

philippjfr opened this issue Nov 7, 2017 · 3 comments
Milestone

Comments

@philippjfr
Copy link
Member

While we handle most other datetime types, datetime.date is currently not handled, e.g. when you try the example below you get an error:

hv.Scatter(zip(pd.DatetimeIndex(start='2017-01-01', end='2017-01-04', freq='1d').date, np.linspace(0,1,4)))
@philippjfr philippjfr added this to the v1.10 milestone Nov 11, 2017
@bacalfa
Copy link

bacalfa commented Jan 14, 2018

That'd be great! For Area as well.

hv.Area(zip(pd.DatetimeIndex(start='2017-01-01', end='2017-01-04', freq='1d').date, np.linspace(0,1,4)))

@philippjfr
Copy link
Member Author

Now supported.

@philippjfr philippjfr modified the milestones: v1.10, 1.9.3 Feb 10, 2018
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants