Skip to content

Calculate hidden minor ticks if ticklabelindex is set.#7735

Open
my-tien wants to merge 3 commits intoplotly:masterfrom
my-tien:calculate-hidden-minor-ticks
Open

Calculate hidden minor ticks if ticklabelindex is set.#7735
my-tien wants to merge 3 commits intoplotly:masterfrom
my-tien:calculate-hidden-minor-ticks

Conversation

@my-tien
Copy link
Copy Markdown
Contributor

@my-tien my-tien commented Mar 27, 2026

This PR ensures that the ticklabelindex axis property has an effect even if minor ticks are not visible. Labels are then drawn at possibly invisible minor tick labels n positions away from a major tick.
This makes it possible to draw the label for a period to the left of a major tick which was previously not always possible. See this issue for two examples where it was previously not possible: #7423

Disclaimer I am required to add that…

the software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. in no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

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.

1 participant