matplotlib.axes.Axes.get_xgridlines

Axes.get_xgridlines(self)

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

Examples using matplotlib.axes.Axes.get_xgridlines