On 8 May 2014 09:10, 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):
>
>  @agramfort <https://github.com/agramfort> OK done
> great that was quick.
>  Do you want me to do the suggestions from @dengemann<https://github.com/dengemann>next? (What I would love to see here is an event_id parameter that adds
> names to the events such that a legend could be produced. On top of that
> each event id could have a color. To me color would be a mapping
> (dictionary) that assigns colors to certain values of the event list.)
> if you feel brave to do it please do. You'll need to update the
> tests_viz.py file.
>

@agramfort @dengemann haha, definitely do not feel brave, but I will
investigate and let you know...

>  —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/1266/files#r12427153>
> .
>