• color_palette()能传入任何Matplotlib所支持的颜色
  • color_palette()不写参数表示默认颜色
  • set_palette()设置所有图的颜色

默认的颜色类别

Seaborn(三)调色板palette

指定颜色种类数量

Seaborn(三)调色板palette

Seaborn(三)调色板palette
可以发现上面两张图的颜色是一一对应的。

颜色渐变

Seaborn(三)调色板palette

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2021-05-12
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-12
  • 2021-07-03
  • 2022-12-23
  • 2021-06-20
  • 2021-07-11
  • 2021-03-31
  • 2022-12-23
相关资源
相似解决方案