'Sets the scale of axis ``axis_id`` to show an interval between ``min`` and ``max``.
If ``step`` is specified and non-zero, it determines the steps between label on the axis.
Otherwise, they are calculated automatically.
.. note:: This changes the axis scale and removes any previous labels set with :meth:`set_axis_labels`.'

def set_axis_scale(self, axis_id, min, max, step_size=0):

    if (axis_id in self._bounds_cache):
        del self._bounds_cache[axis_id]
    self._transform_cache = {}
    if (axis_id in self.axes):
        self.axes[axis_id].set_scale(min, max, step_size)
    else:
        self.data_range[axis_id] = (min, max)
