Skip to content

Commit 792236a

Browse files
committed
Add changelog entry
1 parent 36adb34 commit 792236a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Improved tick location logic in ``LogLocator``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
`~.LogLocator.tick_values` previously returned two ticks that were outside
5+
the range ``{vmin, vmax}``. This has been updated to only return all ticks
6+
for the decades containing ``vmin`` and ``vmax``. If ``vmin`` or ``vmax``
7+
are exactly on a decade this means no ticks above/below are returned.
8+
Otherwise a single major tick is returned above/below, and for minor ticks
9+
all the ticks in the decade containing ``vmin`` or ``vmax`` are returned.

0 commit comments

Comments
 (0)