Reputation: 9148
How can I change the color range in ploty express scatter plots?
import plotly.express as px
...
fig = px.scatter(data,
x="X-coord",
y="Y-coord",
animation_frame="Timepoint",
color="Fraction",
hover_name="Compound",
size_max=10,
size='Fraction')
I want the colorbars to show a range from 0 to 1.
Upvotes: 15
Views: 15565