'Return the grid lines as a list of Line2D instance'

def get_gridlines(self):

    ticks = self.get_major_ticks()
    return cbook.silent_list(u'Line2D    gridline', [tick.gridline for tick in ticks])
