How to hide median in boxplots?

I want to draw a boxplot with means instead of medians. Is it possible? Thanks.

Hi @Madrigallo ,
I donโ€™t know if it would make sense to โ€œhideโ€ a median in a boxplot, but to show the mean as well you can use:

fig.update_traces(boxmean=True)

Cheers, Thomas

Thank you, youโ€™re right, upon further research I realized that boxplots are kinda defined by showing medians and Q1, Q3. So it doesnโ€™t make much sense.