Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG]: tickformat doesn't adjust when labels are positioned below minor ticks (because of ticklabelindex)

Open
#7,933 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@my-tien is already working on this.

Since Aug 5, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement feature P3 size: 3

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:

Image

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:

Image

https://codepen.io/toffi-fee/pen/YPNBeya

Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
1d 17h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plotly/plotly.js

All issues in plotly/plotly.js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.