matplotlib.axes.Axes.get_ygridlines

Axes.get_ygridlines()

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

Examples using matplotlib.axes.Axes.get_ygridlines