Skip to content

Parallel categories not recognizing dimension columns #2008

Closed
@robroc

Description

@robroc

Data frame with two categorical columns and one numerical column being passed to px.parallel_categories. Only one column gets visualized, no matter what is passed to dimensions: a single column, two columns, or no columns.

Data types changed to str and category, but no change.

Data:

px

Code:

px.parallel_categories(occupations_by_year, dimensions=['Main_jobs', 'Election year'], color = 'count')

Result:

px2

Python 3.6
plotly==3.10.0
plotly-express==0.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions