Gantt chart issue task data not showing the chart for second one

I have 2 tasks with same data , but the gantt is showing only chart for one task alone…

My code is below -
import plotly.express as px
import plotly.graph_objs as go
from plotly.offline import iplot
fig_pdx_gantt_multiple = plt.figure(figsize=(20,10))
fig_pdx_gantt_multiple = ff.create_gantt(df_pdx_multiple, colors=colors, index_col=‘Resource’, show_colorbar=False,
group_tasks=True,show_hover_fill=True,title=‘TimeSpace Diagram only changes in v4_currState temp id = 745’,
showgrid_x=True, showgrid_y=True,bar_width=10,height=500)
fig_pdx_gantt_multiple[‘layout’][‘yaxis’].update(range=[-300,200])
fig_pdx_gantt_multiple[‘layout’][‘yaxis’].update(tickvals= [100,0])
fig_pdx_gantt_multiple.show()

Please tell me what is wrong.

Thanks