Axis actor 2D minor tick pos

vtkAxisActor2D correctly compute tick positions when more that 1 minor ticks was requested (minor spacing was used twice in the computation)

Coming from https://discourse.vtk.org/t/vtkaxisactor2d-label-mispositioned-following-change-from-vtk-9-2-to-newer-9-4-or-9-5/15935

image

What is obvious above is the 50 bottom left that should be the upper label. But also minor ticks are not correct: wrong number (4 were requested) and not evenly-spaced.

Backport: release

Edited by Cory Quammen

Merge request reports

Loading