I hope I can clarify Plotly express regarding scatterplot
I followed through the exact tutorial from the documentation, however if you look at the legend on the right side, the column name I passed for
color (species) is prefixed for each label.
Is threre a reason as to why the results on the legend display are different?
And also, how can I fix this and make this neat?
import plotly_express as px df = px.data.iris() fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species") fig.show()
Thanks for your time for reading!