You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.0.0b1.post7580.dev0+ge487118
matplotlib
Fork me on GitHub

This Page

Comparision of 2 colors in Matplotlib

As the colors in Matplotlib can be specified with a wide variety of ways, this new version consists of a method matplotlib.colors.same_color which checks if two colors are the same.