matplotlib.colors.same_color

matplotlib.colors.same_color(c1, c2)[源代码]

返回颜色 c1c2 都一样。

c1c2 可以是单色或颜色列表/数组。

使用实例 matplotlib.colors.same_color