I'm trying to replicate the following boxplot I made in matplotlib using plotly:

My data is in a very simple dataframe imported from an Excel file and looks like follows:
As you can see, I want to have the different conditions in the x-axis and a y-axis that covers from 0 to 10 and have a different box plot for each condition with its own mean, SD etc. However, when I try the following code I get a very weird output:
import plotly.express as px
conditions = df1.keys() #all conditions, df1 being my DataFrame
conditions=list(conditions)
fig = px.box(df1, x = conditions)
fig.show()
Output:

Anyone knows what do I have to do to get a similar plot like the one I got with matplotlib but with plotly?



