How to change the point size for regplot(), seaborn's scatter plot function (python)
Question: I want to be able to set the point size when plotting like this:

    
    
    sns.regplot(y=[1,3,4,2,5], x=[range(5)], data=df,
                marker='o', color='red')
    plt.show()
    

Do you guys know how?


Answer: To do this you can feed the `regplot()` function the `scatter_kws` arg like
so:

    
    
    import seaborn as sns
    tips = sns.load_dataset("tips")
    sns.regplot(x="total_bill", y="tip", data=tips,
                marker='o', color='red', scatter_kws={'s':2})
    

[![small
points](http://i.stack.imgur.com/MzuGT.png)](http://i.stack.imgur.com/MzuGT.png)

    
    
    sns.regplot(x="total_bill", y="tip", data=tips,
                    marker='o', color='red', scatter_kws={'s':20})
    

[![big
points](http://i.stack.imgur.com/iXqmd.png)](http://i.stack.imgur.com/iXqmd.png)

