在 Seaborn 箱线图中更改黑色 [重复]

问题描述 投票:0回答:0

我正在做演示,想将 Seaborn 箱线图中所有黑色用例(线条、刻度、字体等)更改为 #28324a

在 Matplotlib 中,我可以这样做:

for k, v in mpl.rcParams.items():
    if v == 'black':
        mpl.rcParams[k] = '#28324a'

我如何在 Seaborn 中执行这样的操作?

python matplotlib seaborn boxplot
© www.soinside.com 2019 - 2024. All rights reserved.