Answers for "how to change continuous colour in plotply"

0

how to change continuous colour in plotply

import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length",
                 color="sepal_length", color_continuous_scale=px.colors.sequential.Viridis)

fig.show()
Posted by: Guest on March-17-2022

Code answers related to "how to change continuous colour in plotply"

Python Answers by Framework

Browse Popular Code Answers by Language