Not able to format vtkCubeAxesActor() axis labels

I’m not able to change the formatting of the labels on my plot… what am I doing wrong?

I have a Actor initiated:

cubeAxesActor = vtkCubeAxesActor()

And I’m trying to change the label formatting like this:

cubeAxesActor.SetXLabelFormat('%.0f')
cubeAxesActor.SetYLabelFormat('%.0f')
cubeAxesActor.SetZLabelFormat('%.0f')

But regardless of what I set here I get the same outcome:


Any suggestions?