ColorMap.from_two_colors

classmethod ColorMap.from_two_colors(c1, c2, diverging=False)

Create a color map from two colors.

Parameters
Returns

compas.colors.ColorMap