Plotly Legend Gets Cut Off

Hi,

I am trying to add a legend on my plotly chart in a dash dashboard, however the legend text keeps getting cut off. Is there a new update that solves this or any solution on this? i have tried changing the orientation to horizontal and still get the same issue.

Any help would be much appreciated.

Thanks,