def _populate_style_dict_pce(condition, condition_styles, style_name,
    style_dict, cmap):
    """Transfer styles into condition_styles dict for plot_compare_evokeds."""
    defaults = dict(color='gray', linestyle=(0, ()))
    if condition_styles.get(style_name, None) is None:
        try:
            condition_styles[style_name] = style_dict[condition]
        except KeyError:
            for tag in condition.split('/'):
                try:
                    condition_styles[style_name] = style_dict[tag]
                except KeyError:
                    condition_styles[style_name] = defaults[style_name]
                else:
                    if style_name == 'color' and cmap is not None:
                        condition_styles['cmap_label'] = tag
                    break
    return condition_styles
