YTick.set_clip_path(self, clippath, transform=None)
Set the artist's clip path, which may be:
Patch
(or subclass) instance; orPath
instance, in which case a Transform
instance, which will be applied to the path before using it for clipping, must be provided; orNone
, 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 None
.
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axis.YTick.set_clip_path.html