1 Star 0 Fork 1

somefusion / seaborn-doc-zh

forked from ljl / seaborn-doc-zh 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
61.md 740 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lingxu Meng 提交于 2019-05-21 00:18 . Saved 61.md with Dillinger.io

seaborn.blend_palette

译者:Modrisco

seaborn.blend_palette(colors, n_colors=6, as_cmap=False, input='rgb')

创建在颜色列表之间混合的调色板。

参数:colors:由 input 解释的各种格式的颜色序列。

十六进制码,html 颜色名字,或者 input 空间中的元组。

n_colors:int, 可选

调色板中的颜色数。

as_cmap:bool, 可选

如果为 True 值,则返回 matplotlib colormap 而不是列表。

返回值:palette or cmap:seaborn 调色板或 matplotlib colormap

类似列表的颜色对象的 RGB 元组,或者可以将连续值映射到颜色的 colormap 对象,具体取决于 as_cmap 参数的值。

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/somefusion/seaborn-doc-zh.git
git@gitee.com:somefusion/seaborn-doc-zh.git
somefusion
seaborn-doc-zh
seaborn-doc-zh
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891