matplotlib.axis.Tick.set_clip_path

Tick.set_clip_path(clippath, transform=None)

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

  • a Patch (or subclass) instance
  • a Path instance, in which case
    an optional Transform instance may be provided, which will be applied to the path before using it for clipping.
  • None, to remove the 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.

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

© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.0.2/api/_as_gen/matplotlib.axis.Tick.set_clip_path.html