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 midpoint method for TimeType #149

Merged
merged 1 commit into from
Jun 13, 2019
Merged

Add midpoint method for TimeType #149

merged 1 commit into from
Jun 13, 2019

Conversation

pshashk
Copy link
Contributor

@pshashk pshashk commented Jun 13, 2019

Fixes plotting of IndexedPartition with Date or DateTime index.

using Dates
x = Date(2010):Day(1):Date(2011)
y = rand(1:10, length(x))
o = fit!(IndexedPartition(Date, CountMap(Int)), zip(x, y))
plot(o)

@joshday joshday merged commit d710e97 into joshday:master Jun 13, 2019
@joshday
Copy link
Owner

joshday commented Jun 13, 2019

Nice! Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants