You are reading an old version of the documentation (v2.0.2). For the latest version see https://matplotlib.org/stable/
matplotlib

Travis-CI:

This Page

matplotlib.axis.YAxis.get_ticklocs

YAxis.get_ticklocs(minor=False)

Get the tick locations in data coordinates as a numpy array