Skip to content

Commit 2130c10

Browse files
committed
Update parallel-categories-diagram.md
1 parent f150ff2 commit 2130c10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/parallel-categories-diagram.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ For other representations of multivariate data, also see [parallel coordinates](
4545

4646
This example visualizes the restaurant bills of a sample of 244 people. Hovering over a category rectangle (sex, smoker, etc) displays a tooltip with the number of people with that single trait. Hovering over a ribbon in the diagram displays a tooltip with the number of people with a particular combination of the five traits connected by the ribbon.
4747

48-
By default, `px.parallel_categories` will display any column in the `data_frame` that has a cardinality (or number of unique values) of less than 50. This can be overridden either by passing in a specific list of columns to `dimensions` or by setting `dimensions_max_cardinality` to something other than 50.
48+
By default, `px.parallel_categories` will display any column in the `data_frame` that has a cardinality (or number of unique values) of less than 50. This can be overridden either by passing in a specific list of columns to `dimensions` or by setting `dimensions_max_cardinality` to something other than 50.
4949

5050
```python
5151
import plotly.express as px
@@ -58,7 +58,7 @@ fig.show()
5858

5959
#### Style Diagram
6060

61-
In this example `dimensions` represents a list of stings or the columns of data frame, and `labels` is a dictionary with string keys (column name) and string values ('desired label to be displayed'). See [Plotly express reference page](https://www.plotly.express/plotly_express/#plotly_express.parallel_categories) for more information.
61+
In this example `dimensions` represents a list of stings or the columns of data frame, and `labels` is a dictionary with string keys (column name) and string values ('desired label to be displayed'). See [Plotly express reference page](https://plotly.com/python-api-reference/generated/plotly.express.parallel_categories) for more information.
6262

6363
```python
6464
import plotly.express as px

0 commit comments

Comments
 (0)