def _topo_closed(events, ax, lines, fill):
    for line in lines:
        ax.lines.remove(line[0])
    ax.collections.remove(fill)
    ax.get_figure().canvas.draw()
Callback for removing lines from evoked plot as topomap is closed.
dataset/ETHPy150Open mne-tools/mne-python/mne/viz/evoked.py/_topo_closed