

def _draw_outlines(ax, outlines):
    'Helper for drawing the outlines for a topomap.'
    outlines_ = dict([(k, v) for (k, v) in outlines.items() if (k not in ['patch', 'autoshrink'])])
    for (key, (x_coord, y_coord)) in outlines_.items():
        if ('mask' in key):
            continue
        ax.plot(x_coord, y_coord, color='k', linewidth=1, clip_on=False)
    return outlines_

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