seaborn.set_color_codes#
- seaborn.set_color_codes(palette='deep')#
變更 matplotlib 顏色簡寫的解讀方式。
呼叫此函數會變更後續繪圖中 matplotlib 如何解讀像是「b」或「g」的簡寫代碼。
- 參數:
- palette{deep, muted, pastel, dark, bright, colorblind}
指定 seaborn 色盤作為顏色的來源。
另請參閱
set
顏色代碼可以透過高階的 seaborn 風格管理員設定。
set_palette
顏色代碼也可以透過設定 matplotlib 顏色循環的函數設定。