'Set the offsets for the collection.  *offsets* can be a scalar
or a sequence.
ACCEPTS: float or sequence of floats'

def set_offsets(self, offsets):

    offsets = np.asanyarray(offsets, float)
    if (self._uniform_offsets is None):
        self._offsets = offsets
    else:
        self._uniform_offsets = offsets
    self.stale = True
