matplotlib.axes.Axes.get_xticklines

Axes.get_xticklines(minor=False)

Return the xaxis' tick lines as a list of Line2Ds.