def tclobjs_to_py(adict):
    for opt, val in adict.items():
        adict[opt] = _tclobj_to_py(val)

    return adict
Helper function to plot color/channel legends for butterfly plots
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py/tclobjs_to_py--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/viz/evoked.py/_plot_legend