1import seaborn as sns
2sns.set_theme(style="ticks", palette="pastel")
3
4# Load the example tips dataset
5tips = sns.load_dataset("tips")
6
7# Draw a nested boxplot to show bills by day and time
8sns.boxplot(x="day", y="total_bill",
9 hue="smoker", palette=["m", "g"],
10 data=tips)
11sns.despine(offset=10, trim=True)
12