Squashed 'paste-framework/' content from commit 34e8684

git-subtree-dir: paste-framework
git-subtree-split: 34e8684c4bc3cebbe177509f42ab4ef5b5425a7a
This commit is contained in:
zwf
2026-06-02 19:09:22 +08:00
commit 4729698049
107 changed files with 21484 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import seaborn
def get_seaborn_colors(n, palette='husl'):
"""
使用Seaborn的调色板生成颜色。
"""
return seaborn.color_palette(palette, n_colors=n).as_hex()