I am wondering if there is a way to turn off the linear fit in seaborn\'s lmplot
or if there is an equivalent function that just produces the scatterplot.
Sure, I
I recommend instead of sns.lmplot()
to use sns.scatterplot()
# import libaries
import seaborn as sns
# load tips dataset from GitHub seaborn repository
tips_df = sns.load_dataset("tips")
#create scatter plot
sns.scatterplot(x = "tip", y = "total_bill", data = tips_df, hue ="sex")
To learn more in detail follow seaborn scatter plot using sns.scatterplot() tutorial