matplotlib.colors.same_color

matplotlib.colors.same_color(c1, c2)[source]

Return whether the colors c1 and c2 are the same.

c1, c2 can be single colors or lists/arrays of colors.

Examples using matplotlib.colors.same_color