def _plot_raw_time(value, params):
 info = params['info']
 max_times = (((params['n_times'] / float(info['sfreq'])) + params['first_time']) - params['duration'])
 if (value > max_times):
  value = (((params['n_times'] / float(info['sfreq'])) + params['first_time']) - params['duration'])
 if (value < params['first_time']):
  value = params['first_time']
 if (params['t_start'] != value):
  params['t_start'] = value
  params['hsel_patch'].set_x(value)

def _plot_raw_time ( value , params ) : info = params [ 'info' ] max_times = ( ( ( params [ 'n_times' ] / float ( info [ 'sfreq' ] ) ) + params [ 'first_time' ] ) - params [ 'duration' ] ) if ( value > max_times ) : value = ( ( ( params [ 'n_times' ] / float ( info [ 'sfreq' ] ) ) + params [ 'first_time' ] ) - params [ 'duration' ] ) if ( value < params [ 'first_time' ] ) : value = params [ 'first_time' ] if ( params [ 't_start' ] != value ) : params [ 't_start' ] = value params [ 'hsel_patch' ] . set_x ( value )
deal with changed time value .