Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#7,933 2 comentários 0 reações 1 responsável Ver no GitHub

@my-tien já está trabalhando nisso.

Desde 5/8/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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

Linguagem predominante
JavaScript
Estrelas
18.3k
Forks
2k
Merge médio
2d 10h
PRs com merge (30d)
30

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de plotly/plotly.js

Todas as issues de plotly/plotly.js

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.