matplotlib.axes.Axes.get_xgridlines

Axes.get_xgridlines()

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

Examples using matplotlib.axes.Axes.get_xgridlines