Axes.set_clip_path(self, path, transform=None)
Set the artist's clip path, which may be:
Patch(or subclass) instance; or
Pathinstance, in which case a
Transforminstance, which will be applied to the path before using it for clipping, must be provided; or
None, to remove a previously set clipping path.
For efficiency, if the path happens to be an axis-aligned rectangle, this method will set the clipping box to the corresponding rectangle and set the clipping path to
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.