美文网首页
seaborn.diverging_palette

seaborn.diverging_palette

作者: yuriy0_0 | 来源:发表于2019-01-07 21:26 被阅读0次
1.PNG

Parameters

  • h_neg,h_pos:[0,359]
    定位在负数与正数色调范围
  • s:[0,100],可选
    定位饱和度
  • l:[0,100],可选
    定位亮度
  • n:int,可选
    如果不返回cmap,将返回颜色数字
  • center:{“light”,“dark”},可选
    调色板中心是亮还是暗
  • as_cmap:布尔,可选
    如果为真,返回matplotlib colormap 对象;否则返回一个颜色列表

Returns

  • palette or cmap:seaborn color palette 或者matplotlib colormap
    颜色的类表对象(RGB元组),或者colormap能够映射连续的值到颜色,决定于 as_cmap 参数

相关文章

网友评论

      本文标题:seaborn.diverging_palette

      本文链接:https://www.haomeiwen.com/subject/tziprqtx.html