Plotly Update Legend Titel

fig.update_layout(legend_title_text='Trend')
Chris P.