Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by plotly.com #
 
PREVIOUS NEXT
Tagged: #change #continuous #colour #plotply
ADD COMMENT
Topic
Name
1+8 =