[Python] How to add padding to plotly lengend

Discussão em 'Python' iniciado por Stack, Maio 28, 2025.

  1. Stack

    Stack Membro Participativo

    i'm trying to male a graph using plotly library, I want to add the same padding on the left to the right at the legend level as mentioned below :

    [​IMG]

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

    Continue reading...

Compartilhe esta Página