Skip to content

paramater color_discrete_sequence in px.bar doesn't accept value in px.colors.qualitative.swatches() #3398

Closed
@vuthanhdatt

Description

@vuthanhdatt

in API references of px.bar, paramater color_discrete_sequence accept color sequences available in the .express.colors submodules, specifically plotly.express.colors.qualitative.
image
But when i using swatch in plotly.express.colors.qualitative

image
px.bar announce an error.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions