'Set the first axis in the given position to the given value.
This is a helper method for the left, right, top, and bottom properties.
Args:
position: an AxisPosition object specifying the axis\'s position
axis: The axis to set, an Axis object
Returns:
the value of the axis parameter'

def SetAxis(self, position, axis):

    self._axes.setdefault(position, [None])[0] = axis
    return axis
