Version 3.1.1
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_ygridlines

Axes.get_ygridlines(self)

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