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

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.1/api/_as_gen/matplotlib.colors.same_color.html