'Return a transformed copy of the path.
.. seealso::
:class:`matplotlib.transforms.TransformedPath`
A specialized path class that will cache the
transformed result and automatically update when the
transform changes.'

def transformed(self, transform):

    return Path(transform.transform(self.vertices), self.codes, self._interpolation_steps)
