# Not able to format vtkCubeAxesActor() axis labels

**URL:** https://discourse.vtk.org/t/not-able-to-format-vtkcubeaxesactor-axis-labels/7411
**Category:** Support
**Created:** [December 16, 2021, 8:03am UTC](https://discourse.vtk.org/t/not-able-to-format-vtkcubeaxesactor-axis-labels/7411 "2021-12-16T08:03:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jonnymaserati](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jonnymaserati/32/4409_2.png) [@jonnymaserati](https://discourse.vtk.org/u/jonnymaserati)
#### Post date: [December 16, 2021, 8:03am UTC](https://discourse.vtk.org/t/not-able-to-format-vtkcubeaxesactor-axis-labels/7411/1 "2021-12-16T08:03:13Z")

</div>

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

I have a `Actor` initiated:

```auto
cubeAxesActor = vtkCubeAxesActor()

```

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

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

```

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

 ![image](https://discourse.vtk.org/uploads/default/original/2X/f/f3ca5560e13cac5a21f597022cd0552ebd66aefe.png)  
Any suggestions?
