

def _pause_anim(event, params):
    'Function for pausing and continuing the animation on mouse click'
    params['pause'] = (not params['pause'])

dataset/ETHPy150Open mne-tools/mne-python/mne/viz/topomap.py _pause_anim/original