seaborn_altair.barplot

import seaborn as sns
import seaborn_altair as salt
tips = sns.load_dataset("tips")
display(salt.barplot(x="day", y="total_bill", data=tips))
ax = sns.barplot(x="day", y="total_bill", data=tips)
display(salt.barplot(x="day", y="total_bill", hue="sex", data=tips))
ax = sns.barplot(x="day", y="total_bill", hue="sex", data=tips)
display(salt.barplot(x="tip", y="day", data=tips))
ax = sns.barplot(x="tip", y="day", data=tips)
display(salt.barplot(x="time", y="tip", data=tips))
ax = sns.barplot(x="time", y="tip", data=tips, order=["Lunch", "Dinner"])
from numpy import median
display(salt.barplot(x="day", y="tip", data=tips, estimator=median, ci=None))
ax = sns.barplot(x="day", y="tip", data=tips, estimator=median, ci=None)
display(salt.barplot(x="day", y="tip", data=tips))
ax = sns.barplot(x="day", y="tip", data=tips, ci=68)
display(salt.barplot(x="day", y="tip", data=tips))
ax = sns.barplot(x="day", y="tip", data=tips, ci="sd")
display(salt.barplot(x="day", y="tip", data=tips))
ax = sns.barplot(x="day", y="tip", data=tips, capsize=.2)
display(salt.barplot("size", y="total_bill", data=tips, palette="Blues_d"))
ax = sns.barplot("size", y="total_bill", data=tips, palette="Blues_d")
tips["weekend"] = tips["day"].isin(["Sat", "Sun"])
display(salt.barplot(x="day", y="total_bill", hue="weekend", data=tips, dodge=False))
ax = sns.barplot(x="day", y="total_bill", hue="weekend", data=tips, dodge=False)
display(salt.barplot("size", y="total_bill", data=tips, color="salmon", saturation=.5))
ax = sns.barplot("size", y="total_bill", data=tips, color="salmon", saturation=.5)
display(salt.barplot("day", "total_bill", data=tips))
ax = sns.barplot("day", "total_bill", data=tips, linewidth=2.5, facecolor=(1, 1, 1, 0), errcolor=".2", edgecolor=".2")