Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Sep 30, 2020

Moving 'tick0' to be on Sunday (or Monday depending on an ISO weekly tickformat) when dtick is a round number of weeks.

Before vs After.

@plotly/plotly_js

@archmoj archmoj added bug something broken feature something new status: reviewable labels Sep 30, 2020
@archmoj archmoj added this to the v1.56.0 milestone Sep 30, 2020
@alexcjohnson
Copy link
Collaborator

alexcjohnson commented Sep 30, 2020

Very nice. Can we include a test of this? A Jasmine test should suffice, covering both the Sunday and the Monday cases.

@archmoj archmoj merged commit aea6330 into master Sep 30, 2020
@archmoj archmoj deleted the adjust-tick0-for-a-weekly-dtick branch September 30, 2020 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken feature something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants