matplotlib.axis.YAxis.get_gridlines

YAxis.get_gridlines()

将网格线作为Line2d实例的列表返回