matplotlib.axes.Axes.get_ygridlines

Axes.get_ygridlines(self)

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

Examples using matplotlib.axes.Axes.get_ygridlines