发布网友 发布时间:2022-04-23 14:41
共1个回答
热心网友 时间:2023-11-01 08:18
# pip install seaborn
# http://seaborn.pydata.org/generated/seaborn.lmplot.html#seaborn.lmplot
%matplotlib inline
import seaborn as sns
tips = sns.load_dataset("tips")
sns.lmplot(x="total_bill", y="tip", hue="smoker", data=tips,fit_reg=False)