Seaborn RegPlot部分透视(alpha)

qwe*_*lpc 26 python seaborn

当使用seaborn barplot时,我可以指定一个alpha,它使条形半透明.但是,当我用Seaborn regplot尝试这个时,我得到一个错误,说这是一个意想不到的争论.

我在线阅读文档并没有找到太多,有人能指出我正确的方向......

iay*_*ork 55

使用scatter_kws参数.例如:

ax = sb.regplot(x="total_bill", 
                y="tip", 
                data=tips, 
                scatter_kws={'alpha':0.3})
Run Code Online (Sandbox Code Playgroud)