seaborn_altair.lmplot

import seaborn as sns
sns.set(color_codes=True)
tips = sns.load_dataset("tips")
import seaborn_altair as salt
display(salt.lmplot(x="total_bill", y="tip", data=tips))
g = sns.lmplot(x="total_bill", y="tip", data=tips)
display(salt.lmplot(x="total_bill", y="tip", data=tips, scatter=False))
g = sns.lmplot(x="total_bill", y="tip", data=tips, scatter=False)
display(salt.lmplot(x="total_bill", y="tip", data=tips, fit_reg=False))
g = sns.lmplot(x="total_bill", y="tip", data=tips, fit_reg=False)
display(salt.lmplot(x="total_bill", y="tip", hue="smoker", data=tips))
g = sns.lmplot(x="total_bill", y="tip", hue="smoker", data=tips)
display(salt.lmplot(x="total_bill", y="tip", hue="smoker", data=tips))
g = sns.lmplot(x="total_bill", y="tip", hue="smoker", data=tips, markers=["o", "x"])
display(salt.lmplot(x="total_bill", y="tip", hue="smoker", data=tips, palette="Set1"))
g = sns.lmplot(x="total_bill", y="tip", hue="smoker", data=tips, palette="Set1")
display(salt.lmplot(x="total_bill", y="tip", hue="smoker", data=tips, palette=["m", "g"]))
g = sns.lmplot(x="total_bill", y="tip", hue="smoker", data=tips, palette=dict(Yes="g", No="m"))
display(salt.lmplot(x="total_bill", y="tip", col="smoker", data=tips))
g = sns.lmplot(x="total_bill", y="tip", col="smoker", data=tips)
order = ["Thur", "Fri", "Sat", "Sun"]
display(salt.lmplot(x="size", y="total_bill", hue="day", col="day", data=tips, aspect=.4, hue_order=order, col_order=order))
g = sns.lmplot(x="size", y="total_bill", hue="day", col="day", data=tips, aspect=.4, x_jitter=.1)
display(salt.lmplot(x="total_bill", y="tip", col="day", hue="day", data=tips, col_wrap=2, height=3, hue_order=order, col_order=order))
g = sns.lmplot(x="total_bill", y="tip", col="day", hue="day", data=tips, col_wrap=2, height=3)
display(salt.lmplot(x="total_bill", y="tip", row="sex", col="time", data=tips, height=3))
g = sns.lmplot(x="total_bill", y="tip", row="sex", col="time", data=tips, height=3)
display(salt.lmplot(x="total_bill", y="tip", row="sex", col="time", data=tips, height=3))
g = sns.lmplot(x="total_bill", y="tip", row="sex", col="time", data=tips, height=3)
g = (g.set_axis_labels("Total bill (US Dollars)", "Tip")
      .set(xlim=(0, 60), ylim=(0, 12),
           xticks=[10, 30, 50], yticks=[2, 6, 10])
      .fig.subplots_adjust(wspace=.02))