Seaborn RegPlot Partially See Through (alpha)

Question:

When using seaborn barplot I can specify an alpha for which it makes the bars semi-translucent. However, when I try this with Seaborn regplot I get an error saying this is an unexpected argument.

I read the documentation online and didn’t find much, could someone point me in the right direction…

Asked By: qwertylpc

||

Answers:

Use the scatter_kws argument. For example:

ax = sb.regplot(x="total_bill", 
                y="tip", 
                data=tips, 
                scatter_kws={'alpha':0.3})
Answered By: iayork
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.