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

it would be nice to have date_breaks('0.2 sec') #85

Closed
randomgambit opened this issue May 4, 2017 · 0 comments
Closed

it would be nice to have date_breaks('0.2 sec') #85

randomgambit opened this issue May 4, 2017 · 0 comments
Labels

Comments

@randomgambit
Copy link

@randomgambit randomgambit commented May 4, 2017

Hi guys,

coming from tidyverse/ggplot2#2120 (comment)

It would be nice if one could define date_breaks with units smaller than 1 second. say 0.5 seconds or the like. Right now, I am doing that manually with

minor_breaks = seq(from = ymd_hms('2000-01-01 08:29:58'), to = ymd_hms('2000-01-01 08:30:10'), by = 0.5)

but this is a pain... What do you think?

Thanks!

dpseidel added a commit to dpseidel/scales that referenced this issue Jul 24, 2018
dpseidel pushed a commit that referenced this issue Jul 25, 2018
Dana Paige Seidel
* Add subsecond interval support to date_breaks() and full_seq()

Closes #85 

* Fix tz mismatch for sec and min intervals. Fix tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants