Critical error when using plotly express scatter with wide dataframe containing mixed data

Hey! I have a problem when trying to run the following minimal example:

import pandas as pd
import as px

df = pd.DataFrame({'y': [1, 2], 'numeric': [5, 10], 'string': ['A', 'B']})
fig = px.scatter(df, y="y", x=df.columns, facet_col="variable")

I get the following error: “Plotly Express cannot process wide-form data with columns of different type.” which does not make sense since i am trying to plot EACH dataframe column separately (e.g. there is no actual mixing of data types required for the final plot)

Could you give us an example of your expected result? And where does facet_col=“variable” come from?