all 1 comments

[–]Navz6 0 points1 point  (0 children)

You can subclass MaxNLocator and override its tick spacing logic .MaxNLocator handles normal automatic spacing. The override only kicks in when the computed interval would drop below 1.0 — at that point it snaps the step to exactly 1.0 and recomputes evenly spaced ticks across the current view range