Hi,
I’m trying to draw line graphs with plotly express and the yellow bottom line connecting the initial point to the end suddenly appeared. There were no data points.
fig = px.line(data_frame=test,
x=‘Period’,
y=‘Body Weight’,
color=‘Gr. Category’,
line_shape=“spline”,
render_mode=“svg”,
color_discrete_sequence=px.colors.qualitative.G10
)
fig.update_xaxes(title=‘Period (weeks of age)’)
fig.update_yaxes(title=parameter_selected)
fig.update_traces(hoverinfo=‘text+name’, mode=‘lines+markers’)
fig.show()
I would like to draw the same line as a blue line. Does anyone have an idea to fix this?
Thank you