Version 3.1.2
matplotlib

matplotlib.axis.Axis.get_snap

Axis.get_snap()

Returns the snap setting.

See set_snap for details.