It doesn't actually slice the cube, it just passes these to the plot function to determine the axes used to make the plot in each frame.