Skip to content

Consistency in plot_topomap APIs #4122

@hubertjb

Description

@hubertjb

The evoked.plot_topomap function has parameters times and average to specify the times and range to average over:
https://github.com/mne-tools/mne-python/blob/master/mne/evoked.py#L333

At the same time, the plot_topomap method in AverageTFR has parameters tmin and tmax:
https://github.com/mne-tools/mne-python/blob/master/mne/time_frequency/tfr.py#L1279

Talking with @jona-sassenhagen, I guess these two APIs should be uniformised?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions