# matplotlib.artist.Artist.set_clip_path¶

Artist.set_clip_path(self, path, transform=None)[source]

Set the artist's clip path, which may be:

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 None.

ACCEPTS: [(Path, Transform) | Patch | None]