I am trying to create a simple subplot in seaborn using 1 row 2 columns. But am not getting the expected result. Instead my figures are displaying separately. Please help.
df = sns.load_dataset("tips")
fig, axes = plt.subplots(nrows = 1, ncols = 2, figsize = (15,6))
sns.relplot(x = "tip", y= "total_bill" , data = df , hue = "smoker", kind = "line",
hue_order = ["No", "Yes"], ax = axes[0])
sns.catplot(x = "tip", data = df, kind = "point", ax = axes[1])