I have been trying to plot different trance of Line in a single plot. When I add multiple traces the the line is plotted with points 0 for each point. It plots good when plotted as single trace.
This is the lot with multiple traces put in one pot. The ORANGE LINE is going up-down even tough the data is clear.
The Same line when plotted in a single trace is looking like this.
code used for the plot
COMBINE_PLOT.add_trace(go.Scatter(
x=main_fil[‘Date’],
y=main_fil[‘Y_data’],
name=uq_id,
mode=‘lines’,
hovertext=hovertext, # Set the hover text
hovertemplate=‘%{hovertext}’,
marker=dict(color=‘lightgrey’)))
COMBINE_PLOT.update_layout(title_text=“title”)
filename2 = “COMBINEPLOT_”+str(out_file_name)
offline.plot(COMBINE_PLOT, filename=filename2, auto_open=True)