Hi!
I have the following figure:
and I would like to add the mean.
Is it possible with Plotly Express, without using Graph Objects go.Box()
?
For information, here is my code:
import plotly.express as px
fig = px.box(device_field_strength_impact_df,
y='value',
x='device_field_strength',
color='variable',
# boxmean=True,
facet_col='group',
)
fig.show()
and the pandas DataFrame:
method group patient device_field_strength variable value
expert1 experts 62 device_field_strength_1.5 F1_score 0.857
expert1 experts 66 device_field_strength_3 F1_score 0.909
... ... ... ... ... ... ...
Note: I made the same figure with Graph Objects but I donโt know how to handle the legend and x labels.