Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Is it possible to set the bar color based on the y value? #62

@WANGZEQI123

Description

@WANGZEQI123

The current color parameter in plotly_express is more like a group. What I want to do is to produce a bar plot like below, its bar color is proportional to the y value.
plot from API (3)

I wonder if there's a way to do it in plotly express? Or can I modify it use plotly update method?

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions