def remove_selection(self, sel):
self._selections.remove(sel)<EOL>figures = {artist.figure for artist in [sel.annotation] + sel.extras}<EOL>with suppress(ValueError):<EOL><INDENT>sel.annotation.remove()<EOL><DEDENT>for artist in sel.extras:<EOL><INDENT>with suppress(ValueError):<EOL><INDENT>artist.remove()<EOL><DEDENT><DEDENT>for cb in self._callbacks["<STR_LIT>"]:<EOL><INDENT>cb(sel)<EOL><DEDENT>for figure in figures:<EOL><INDENT>figure.canvas.draw_idle()<EOL><DEDENT>
Remove a `Selection`.