You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Repository navigation
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
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.
I wonder if there's a way to do it in plotly express? Or can I modify it use plotly update method?
Hi,
I have the same requirement where i have to change the colour of bars based
On one more column values which has good, bad values corresponding to
colours in R shiny.
Please let me know what approaches need to be followed to solve this issue
in R.
Thanks & Regards,
Kavya B
@kavyabgowda if you're using R then you should check out our R documentation at https://plotly.com/r/ ... this repository is about Plotly Express, which is a Python library :)
Activity
nicolaskruchten commentedon Apr 30, 2019
This isn't possible at the moment but should be an easy addition for the next version :)
nicolaskruchten commentedon May 6, 2019
Will be part of the next release, tomorrow!
kavyabgowda commentedon Apr 17, 2020
is it released
nicolaskruchten commentedon Apr 17, 2020
Yes indeed!
kavyabgowda commentedon Apr 17, 2020
nicolaskruchten commentedon Apr 17, 2020
@kavyabgowda if you're using R then you should check out our R documentation at https://plotly.com/r/ ... this repository is about Plotly Express, which is a Python library :)
kavyabgowda commentedon Apr 20, 2020
ilyinss commentedon Jan 21, 2021
can you show code? I need change bar colors based on values