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.