matplotlib / 3.5.1 / _as_gen / matplotlib.colors.same_color.html /

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.

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