Skip to content

WIP: Fix Incorrect AxisLabels

Stephen Hogarth requested to merge shogarth/vtk:fix_incorrect_axislabels into master

"AdjustLabels" automatically picks a set of "nice" numbers to use as the axes labels and chooses new tick marks accordingly. Unfortunately the placement of the new tick marks is incorrect because they are scaled to the input data ranges instead of the adjusted ranges. For instance if your top value was 35.5, you can end up with a tick labelled "40.0" which is great, except that it will be drawn at the 35.5 location, which is not great.

Note: This is a WIP from demarle/fix-incorrect-axislabels with formatting fixed for the clang checks.

Merge request reports