Reputation: 1821
Is there any straightforward way to change plotly marker shape/symbol attribute based on column values? It is quite easy for the color attribute.
Upvotes: 3
Views: 4782
Reputation: 27370
If you use Plotly Express it’s just a matter of px.scatter(df, x='colname1', y='colname2', symbol='colname3')
Upvotes: 8