Version 3.0.2
matplotlib

matplotlib.axes.Axes.get_yticklines

Axes.get_yticklines()

Get the y tick lines as a list of Line2D instances.