How do i ensure legend symbol size is matched 1-to-1 with marker size in the plot? in the example below, legend symbol size are shrunk
fig = go.Figure()
fig.add_trace(go.Scatter(
x=[1, 2, 3, 4, 5],
y=[1, 2, 3, 4, 5],
mode='markers',
marker={'size':10}
))
fig.add_trace(go.Scatter(
x=[1, 2, 3, 4, 5],
y=[5, 4, 3, 2, 1],
mode='markers',
marker={'size':100}
))
fig.update_layout(legend= {'itemsizing': 'trace'})
fig.show()