Skip to content

axis: Added alternate Ticker "PreciseTicks"

Sebastien Binet requested to merge decibelcooper:master into master

Created by: decibelcooper

This PR resolves #393 (closed)

This alternate Ticker is heavily based on the default with two changes:

  1. There is a different condition for setting major tick interval to a lower order of magnitude
  2. There is a different mechanism for limiting label precision. Instead of creating a new list that is rounded until all labels at just unique, precision is inferred by the orders of magnitude for the largest label and the major tick interval. This precision is passed to the float format function.

Merge request reports

Loading