How can I set the format of the vtkCubeAxesActor such that the exponent is not shown? For example, I have a data set with the bounds: [5970000.0, 5999000.0, 5970000.0, 5999000.0, 0.0, 0.0] which when plotted with the default vtkCubeAxesActor produces this:
Then if I try to set the format, things get really wacky and unexpected:
fmt = '%d'
cube_axes_actor = vtk.vtkCubeAxesActor()
cube_axes_actor.SetXLabelFormat(fmt)
cube_axes_actor.SetYLabelFormat(fmt)
cube_axes_actor.SetZLabelFormat(fmt)
Ideally, I’d like to see a full integer representation of the axes bounds (e.g. 5999000). Note that the second figure there as values of 8 x 10^6 which isn’t even in the dataset’s bounds.

