import seaborn as sns sns.relplot(x="x_var", y="y_var", data=df, kind="line", ci=None, style="var", hue="var", markers=True)