File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Specify the columns to be represented with the `dimensions` argument, and set co
56
56
import plotly.express as px
57
57
df = px.data.iris()
58
58
fig = px.scatter_matrix(df,
59
- dimensions = [" sepal_width " , " sepal_length " , " petal_width " , " petal_length " ],
59
+ dimensions = [" sepal_length " , " sepal_width " , " petal_length " , " petal_width " ],
60
60
color = " species" )
61
61
fig.show()
62
62
```
@@ -69,7 +69,7 @@ The scatter matrix plot can be configured thanks to the parameters of `px.scatte
69
69
import plotly.express as px
70
70
df = px.data.iris()
71
71
fig = px.scatter_matrix(df,
72
- dimensions = [" sepal_width " , " sepal_length " , " petal_width " , " petal_length " ],
72
+ dimensions = [" sepal_length " , " sepal_width " , " petal_length " , " petal_width " ],
73
73
color = " species" , symbol = " species" ,
74
74
title = " Scatter matrix of iris data set" ,
75
75
labels = {col:col.replace(' _' , ' ' ) for col in df.columns}) # remove underscore
You can’t perform that action at this time.
0 commit comments