Skip to content

v0.17.1 — distinct labels for narrow-range breaks

Choose a tag to compare

@sipemu sipemu released this 09 Oct 05:51
· 540 commits to main since this release
0b42d63

Fixed

  • Continuous axis and legend breaks are labelled jointly
    (scale::util::format_numbers): on narrow ranges neighbouring breaks get
    enough decimals to stay distinct (0.99, 0.992, 0.994 instead of
    0.99, 0.99, 0.99), and a non-zero break never prints as 0 (log ticks at
    0.001). Labels are unchanged wherever two decimals already suffice;
    custom label_* formatters are unaffected.