matplotlib.axes.Axes.get_yticklines

Axes.get_yticklines(minor=False)

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