[BUG]: tickformat doesn't adjust when labels are positioned below minor ticks (because of ticklabelindex)
Open
@my-tien is already working on this.
Since Aug 5, 2026.
enhancement
feature
P3
size: 3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
This figure demonstrates the issue:
On the x-axis we have major ticks at daily intervals and minor ticks at 6 hour intervals. Although the labels are moved below minor ticks by setting ticklabelindex: -1, the default tickformat doesn't include hourly information, making the tick label incompatible with the labeled tick:
https://codepen.io/toffi-fee/pen/LExqZNa
In contrast to this, if major ticks are labeled, the tickformat automatically includes hours if the ticks have an hourly period:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.