Hi, I'm currently using px.timeline like this
fig_gantt = px.timeline(
df_gantt_plot, # dataframe of the data
x_start='tms_start',
# start time of the production (i.e.
start of the block)
x_end='tms_end', # end time of the production (i.e. end of the block)
y='cod_machine', # machine on which the production is done (y axis of the gantt)
color='list_orders', # column of the dataframe which determins the color of the block
hover_name='cod_production', # text inside the block of the gantt
hover_data=hover_data, # list of columns you want to show in the hover
)