fa91217b895957c4106d6175e27d72a48f4f05dc,mne/viz/topo.py,,_plot_evoked_topo,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,530

Before Change


    else:
        color = cycle([color])

    times = evoked[0].times
    if not all((e.times == times).all() for e in evoked):
        raise ValueError("All evoked.times must be the same")

    noise_cov = _check_cov(noise_cov, evoked[0].info)

After Change



    data = [e.data for e in evoked]
    comments = [e.comment for e in evoked]
    times = [e.times for e in evoked]

    show_func = partial(_plot_timeseries_unified, data=data, color=color,
                        times=times, vline=vline, hline=hline,
                        hvline_color=font_color)
    click_func = partial(_plot_timeseries, data=data, color=color, times=times,
                         vline=vline, hline=hline, hvline_color=font_color,
                         labels=comments)

    time_min = min([t[0] for t in times])
    time_max = max([t[-1] for t in times])
    fig = _plot_topo(info=info, times=[time_min, time_max],
                     show_func=show_func, click_func=click_func, layout=layout,
                     colorbar=False, ylim=ylim_, cmap=None,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: mne-tools/mne-python
Commit Name: fa91217b895957c4106d6175e27d72a48f4f05dc
Time: 2019-01-12
Author: jnu@iki.fi
File Name: mne/viz/topo.py
Class Name:
Method Name: _plot_evoked_topo


Project Name: ContextLab/hypertools
Commit Name: dd19ed2a7127ad2f3ba2bf813461d07f0d6131c5
Time: 2016-12-15
Author: andrew.heusser@gmail.com
File Name: python/hypertools/align.py
Class Name:
Method Name: align


Project Name: ContextLab/hypertools
Commit Name: 54371fa691d62c385889648267acbd32e55f25d2
Time: 2016-12-15
Author: andrew.heusser@gmail.com
File Name: python/hypertools/align.py
Class Name:
Method Name: align