I want to plot line charts for multiple pandas data frames in one graph using python plotly (set x-axis: Day-shift and y-axis: PRO).
I tried using for loop but it failed to generate expected output.Code I tried is given below.
import plotly.express as px
for frame in [df1, df2, df3, df4, df5]:
fig = px.line(frame, x='Day-Shift', y='PRO',template="plotly_dark")
fig.show()
Also I want to set legend as df1 to df5