Version 2.2.2
matplotlib

matplotlib.axis.XAxis.set_clip_path

XAxis.set_clip_path(clippath, transform=None)