Customizing traces of boxplot

Hello, I am currently trying to customize boxplot hover info, and specifically statistics associated to it : min, lower fence,q1, median, q3, etc. I use a jitter plot alongside the boxplot, in which I successfully changed the hovertemplate. I’m basically looking to do the same kind oc customization (bold, and translating it to French). Here is a small code snippet. df_ram is a polars.DataFrame.

fig_ram = px.box(df_ram, x="ram_fmt", y="price", points="all")
fig_ram.update_layout(yaxis=dict(title="", ticksuffix=" €"), xaxis=dict(title=""))
fig_ram.update_traces(
    boxpoints="all",
    hovertemplate="<b>Prix :</b> %{y}<br>" "<b>RAM :</b> %{x}<br>",
)
fig_ram.show()

Here is a screenshot of the current boxplot :

Thanks for your help :slight_smile:

hi @CDucloux
:wave: welcome to the community.

I don’t think that level of customization is currently possible.