def _plot_update_raw_proj(params, bools):
 if (bools is not None):
  inds = np.where(bools)[0]
  params['info']['projs'] = [copy.deepcopy(params['projs'][ii]) for ii in inds]
  params['proj_bools'] = bools
 (params['projector'], _) = setup_proj(params['info'], add_eeg_ref=False, verbose=False)
 params['update_fun']()
 params['plot_fun']()

def _plot_update_raw_proj ( params , bools ) : if ( bools is not None ) : inds = np . where ( bools ) [ 0 ] params [ 'info' ] [ 'projs' ] = [ copy . deepcopy ( params [ 'projs' ] [ ii ] ) for ii in inds ] params [ 'proj_bools' ] = bools ( params [ 'projector' ] , _ ) = setup_proj ( params [ 'info' ] , add_eeg_ref = False , verbose = False ) params [ 'update_fun' ] ( ) params [ 'plot_fun' ] ( )
deal with changed proj .