(self, rows)
Remove `rows` from the selection.
Remove `rows` from the selection.
Remove rows from the selection .
def remove_rows(self, rows):
        """Remove `rows` from the selection.
        """
        old_selection = list(self.selections)
        self.selections = sorted(set(self.selections) - set(rows))
        if old_selection != self.selections:
            self.update_selection_rects()
            self.selection_changed.emit()
def remove_rows ( self , rows ) : old_selection = list ( self . selections ) self . selections = sorted ( set ( self . selections ) - set ( rows ) ) if old_selection != self . selections : self . update_selection_rects ( ) self . selection_changed . emit ( )