AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# seaborn.blend_palette > 译者:[Modrisco](https://github.com/Modrisco) ```py 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` 参数的值。