'Set the clip path and transformation.  Path should be a
:class:`~matplotlib.transforms.TransformedPath` instance.'

def set_clip_path(self, path):

    if ((path is not None) and (not isinstance(path, transforms.TransformedPath))):
        msg = u'Path    should    be    a    matplotlib.transforms.TransformedPathinstance.'
        raise ValueError(msg)
    self._clippath = path
