On 13 May 2014 10:26, Alexandre Gramfort <notifications@github.com> wrote:

> In examples/plot_extract_events_from_raw.py:
>
> > @@ -32,4 +32,10 @@
> >            % (ind, before, after))
> >
> >  # Plot the events to get an idea of the paradigm
> > -mne.viz.plot_events(events, raw.info['sfreq'], raw.first_samp)
> > +# Specify colors and an event_id dictionary for the legend.
> > +event_id = {'aud_l': 1, 'aud_r': 2, 'vis_l': 3, 'vis_r': 4, 'smiley': 5,
> > +            'button': 32}
>
> now if I use this:
>
> event_id = {'aud_l': 1, 'aud_r': 2, 'vis_l': 3, 'vis_r': 4, 'smiley': 5}
>
> button is not displayed with I can accept however ylim is not adapted
> anymore. this should be fixed.
>
@agramfort fixed

>  —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/1266/files#r12585432>
> .
>