Skip to content

svgplot 0.4.2

Latest

Choose a tag to compare

@vincentlaucsb vincentlaucsb released this 18 Oct 21:23
ae5f0ca

Patch release.

  • Fix: bar chart y-axes with non-integral values now use nice bounds and steps (vincentlaucsb/csvzall#21). Before, the axis ran to max × 1.1, split evenly (0, 25, 50, 76, 101 for a max of 91.7). It now expands to a multiple of a 1 / 2 / 2.5 / 5 × 10ᵏ step (0, 25, 50, 75, 100). Tick labels use step-aware precision, so 2.5 and 0.25 steps aren't rounded away.
  • New LinearScale::nice_domain() / nice_ticks() helpers.
  • New nice-y-axis-bar visual regression snapshot.

Integer-valued bar axes and line charts are unchanged, and all existing fixtures render byte-identically.