matplotlib.axis.XTick.get_loc

XTick.get_loc(self)

Return the tick location (data coords) as a scalar