Skip to content

detect ordinal year intervals #1512

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

Merged
merged 2 commits into from
May 1, 2023
Merged

detect ordinal year intervals #1512

merged 2 commits into from
May 1, 2023

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented Apr 30, 2023

If an ordinal scale has a yearly interval, use the appropriate %Y tick format by default, instead of isoformat which adds a trailing -01-01. Ref. #768 (comment).

@mbostock mbostock requested a review from Fil April 30, 2023 17:23
@mbostock mbostock force-pushed the mbostock/year-tickFormat branch from 765512f to 0a14683 Compare May 1, 2023 17:06
@mbostock mbostock enabled auto-merge (squash) May 1, 2023 17:38
@mbostock mbostock merged commit 0941655 into main May 1, 2023
@mbostock mbostock deleted the mbostock/year-tickFormat branch May 1, 2023 17:40
chaichontat pushed a commit to chaichontat/plot that referenced this pull request Jan 14, 2024
* detect ordinal year intervals

* comment re. equality
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