def mpl_to_bokeh(properties):
    new_properties = {}
    for k, v in properties.items():
        if k == 's':
            new_properties['size'] = v
        elif k == 'marker':
            new_properties.update(markers.get(v, {'marker': v}))
        elif k == 'color' or k.endswith('_color'):
            v = colors.ColorConverter.colors.get(v, v)
            if isinstance(v, tuple):
                v = colors.rgb2hex(v)
            new_properties[k] = v
        else:
            new_properties[k] = v
    new_properties.pop('cmap', None)
    return new_properties
Calculates the version to use for a newly built trove which is about
dataset/ETHPy150Open ioam/holoviews/holoviews/plotting/bokeh/util.py/mpl_to_bokeh--crossover with--dataset/ETHPy150Open sassoftware/conary/conary/build/nextversion.py/nextVersion