How to add padding to plotly lengend

Hi,
I want to add the same padding on the left to the right at the legend level as mentioned below :

I tried : fig.update_layout(title_pad_l=dict( title_pad_l=30)) but it doesnt work.
could you help please ?

Hey @plotest, unfortunately I do not see any builtin functionality for that. My guess is that you would need to override the padding within JS somehow.