def _unpack_epochs(epochs):
    if len(epochs.event_id) > 1:
        epochs = [epochs[k] for k in epochs.event_id]
    else:
        epochs = [epochs]

    return epochs
Get the central widget defined on the PopupView.
dataset/ETHPy150Open mne-tools/mne-python/mne/cov.py/_unpack_epochs--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/popup_view.py/PopupView.central_widget