def _pick_bad_channels(event, params):
 bads = params['raw'].info['bads']
 params['info']['bads'] = _select_bads(event, params, bads)
 _plot_update_raw_proj(params, None)

def _pick_bad_channels ( event , params ) : bads = params [ 'raw' ] . info [ 'bads' ] params [ 'info' ] [ 'bads' ] = _select_bads ( event , params , bads ) _plot_update_raw_proj ( params , None )
selecting / drop bad channels onpick .