📜  distplot with plotly - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:49.531000             🧑  作者: Mango

代码示例1
import plotly.express as px
df = px.data.tips()
fig = px.histogram(df, x="total_bill", y="tip", color="sex", marginal="rug",
                   hover_data=df.columns)
fig.show()