Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09928f1

Browse filesBrowse files
Merge pull request plotly#3972 from nelson123-lab/patch-1
Update splom.md
2 parents e7400ef + 0aef2bd commit 09928f1
Copy full SHA for 09928f1

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎doc/python/splom.md

Copy file name to clipboardExpand all lines: doc/python/splom.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Specify the columns to be represented with the `dimensions` argument, and set co
5656
import plotly.express as px
5757
df = px.data.iris()
5858
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"],
6060
color="species")
6161
fig.show()
6262
```
@@ -69,7 +69,7 @@ The scatter matrix plot can be configured thanks to the parameters of `px.scatte
6969
import plotly.express as px
7070
df = px.data.iris()
7171
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"],
7373
color="species", symbol="species",
7474
title="Scatter matrix of iris data set",
7575
labels={col:col.replace('_', ' ') for col in df.columns}) # remove underscore

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.