Merge commit '47296980495f8bbfc9493e93de85dd62de6fa6b9' as 'paste-framework'
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import seaborn
|
||||
|
||||
|
||||
def get_seaborn_colors(n, palette='husl'):
|
||||
"""
|
||||
使用Seaborn的调色板生成颜色。
|
||||
"""
|
||||
return seaborn.color_palette(palette, n_colors=n).as_hex()
|
||||
Reference in New Issue
Block a user