simple scatter python seaborn code example
Example 1: seaborn scatter plot
import seaborn as sns
sns.scatterplot(data=df, x="x_var", y="y_var")
Example 2: how to plot scatter plot using seaborn
>>> import seaborn as sns; sns.set()
>>> import matplotlib.pyplot as plt
>>> tips = sns.load_dataset("tips")
>>> ax = sns.scatterplot(x="total_bill", y="tip", data=tips)