Skip to content

Fix #7876: Ticklabelindex positioning - #7934

Open
my-tien wants to merge 6 commits into
plotly:masterfrom
my-tien:7876-ticklabelindex-positioning
Open

Fix #7876: Ticklabelindex positioning#7934
my-tien wants to merge 6 commits into
plotly:masterfrom
my-tien:7876-ticklabelindex-positioning

Conversation

@my-tien

@my-tien my-tien commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #7876 by rewriting the way period label positioning works when using ticklabelindex.

Previously, the next labeled tick was used as the period end for the previous tick. This was problematic when using ticklabelindex, because sometimes the next labeled period is not necessarily adjacent to the last labeled period.
Now positionPeriodTicks can accept an array of periodEndTicks instead.

@my-tien
my-tien marked this pull request as draft August 5, 2026 13:01
@my-tien
my-tien marked this pull request as ready for review August 5, 2026 13:32
@robertclaus
robertclaus requested a review from camdecoster August 6, 2026 19:33
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.

[BUG]: period labels can be positioned incorrectly when using ticklabelindex with only one minor tick

2 participants