seaborn.blend_palette#
- seaborn.blend_palette(colors, n_colors=6, as_cmap=False, input='rgb')#
色のリスト間をブレンドするパレットを作成します。
- パラメータ:
- colors
input
によって解釈される様々な形式の色のシーケンス 16進コード、HTMLカラー名、または
input
空間のタプル。- n_colorsint, オプション
パレットの色数。
- as_cmapbool, オプション
Trueの場合、
matplotlib.colors.ListedColormap
を返します。
- colors
- 戻り値:
- palette
RGBタプルのリストまたは
matplotlib.colors.ListedColormap
例