How can I change the size of the markers in a plotly express plot

Hi @Kansai ,

Have you try to change the size of markers from update_traces.
Example below change the marker size to 30px.

fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
fig.update_traces(marker=dict(size=30))

or you can refer to the docs below

Hope this help.

1 Like