sns.boxplot(x,y, color=['#f9802d', '#f26b15', '#fdc48f'])
报错:ValueError: Invalid RGBA argument: ['#f9802d', '#f26b15', '#fdc48f']
解决办法:把参数 color
换成 palette
sns.boxplot(x, y, palette=['#f9802d', '#f26b15', '#fdc48f'])
sns.boxplot(x,y, color=['#f9802d', '#f26b15', '#fdc48f'])
报错:ValueError: Invalid RGBA argument: ['#f9802d', '#f26b15', '#fdc48f']
解决办法:把参数 color
换成 palette
sns.boxplot(x, y, palette=['#f9802d', '#f26b15', '#fdc48f'])