2016-04-28 472 views

回答

5

要做到这一点,你可以喂regplot()功能,像这样的scatter_kws ARG:

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

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

big points