'Transform a Matplotlib Path
Parameters
path : :class:`~matplotlib.path.Path`
The path to transform
Returns
path : :class:`~matplotlib.path.Path`
The resulting path'

def transform_path(self, path):

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