Answers for "plotly distribution plot"

1

distplot with plotly

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()
Posted by: Guest on March-31-2020

Python Answers by Framework

Browse Popular Code Answers by Language