[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/../_as_gen/matplotlib.colors.same_color.html [Back]  [Original]

matplotlib.colors.same_color — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

matplotlib.colors.same_color#

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

Return whether the colors c1 and c2 are the same.

Parameters:
c1, c2color or list of color or RGB(A) array

If passing multiple colors, c1 and c2 must be of the same length. RGB(A) arrays must be of shape (ncolors, 3) or (ncolors, 4).

Returns:
bool

Examples using matplotlib.colors.same_color#

[]

Colors in the default property cycle

Colors in the default property cycle

Web Proxy Viewer  |  New URL  |  Original Page