px.ecdf seems to be deprecated in latest version of plotly-express. Was this on purpose or an error?
This does not work anymore:
import plotly.express as px
df = px.data.tips()
fig = px.ecdf(df, x="total_bill", color="sex")
fig.show()
Alternatively you can use px.scatter() to plot the ECDF. That works well, but you need an additional step to calculate the ECDF.
Maybe px.ecdf() returns in the next version of plotly-express?