2016-04-28 85 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