Ok! Done so


On Fri, Jun 14, 2013 at 4:07 PM, Alexandre Gramfort <
notifications@github.com> wrote:

> In mne/viz.py:
>
> > @@ -812,6 +812,14 @@ def plot_evoked_topomap(evoked, times=None, ch_type='mag', layout=None,
> >          times = np.linspace(evoked.times[0], evoked.times[-1], 10)
> >      elif np.isscalar(times):
> >          times = [times]
> > +    if len(times) > 20:
> > +        raise RuntimeError('Too many plots requested. Please pass fewer '
> > +                           'time instants.')
> > +    tmin, tmax = evoked.times[[0, -1]]
> > +    for ii, t in enumerate(times):
> > +        if not tmin <= t <= tmax:
> > +            raise ValueError('Time point %i (%0.3f) outside of evoked.times' % (
>
> I would write should be between xx and xx using tmin and tmax.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/650/files#r4701683>
> .
>