Change the size of plot, not the whole figure

Hi!
Can I change not the size of the whole figure (which is 540x450 now), but the size of the plot (which is 380x219 now)? I mean, I would like to decrease margins and left the size of the figure the same, but change the size of the plot for 500x219, for example.

Hi @voidmain, have you tried setting up the margins of the plotly figure as explained in https://plot.ly/python/setting-graph-size/?