Click on the ‘Mayavi’ button in the scene, and you can control properties of objects with dialogs.
To find out what code can be used to program these changes, click on the red button as you modify those properties, and it will generate the corresponding lines of code.