I would like to draw additional vertical lines that will separate grouped boxplots like in the right-hand picture. The left-hand picture is the original picture (source: https://www.originlab.com/doc/Origin-Help/DoubleY-Box-Chart). I would appreciate for help how to do that by using matplotlib or seaborn package. Thank you and best regards.
The simple code I am using to create example boxplot:
fig, ax = plt.subplots(1, sharex=False, sharey=False, gridspec_kw={'hspace': 0}, figsize=(10, 5))
bill = sns.load_dataset("tips")
sns.boxplot(x="day", y="total_bill", hue="sex", data=bill, palette="PRGn")