matplotlib.axes.Axes.get_xticks

Axes.get_xticks(*, minor=False)

Return the xaxis' tick locations in data coordinates.