📅  最后修改于: 2022-03-11 14:46:47.155000             🧑  作者: Mango
import plotly.express as px
df = px.data.tips()
fig = px.histogram(df, x="day").update_xaxes(categoryorder='total ascending')
fig.show()