matplotlib.axis.Axis.get_gridlines

Axis.get_gridlines()[source]

Return this Axis' grid lines as a list of Line2Ds.