On 7 May 2014 11:02, Alexandre Gramfort <notifications@github.com> wrote:

> In mne/viz.py:
>
> >      import matplotlib.pyplot as plt
> >      fig = plt.figure()
> >      min_event = np.min(events[:, 2])
> >      max_event = np.max(events[:, 2])
> > -    plt.plot((events[:, 0] - first_samp) / sfreq, events[:, 2], '.')
> > +    for idx, ev in enumerate(unique_events):
> > +        ev_idx = (events[:, 2] == ev)
>
> ev_mask
>
> it's not indices
>
ok done

> but overall looks clean. Thanks
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/1266/files#r12381704>
> .
>