This repository was archived by the owner on Jun 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Is it possible to set the bar color based on the y value? #62
Comments
This isn't possible at the moment but should be an easy addition for the next version :) |
Will be part of the next release, tomorrow! |
is it released |
Yes indeed! |
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
…On Fri, 17 Apr, 2020, 2:33 PM Nicolas Kruchten, ***@***.***> wrote:
Yes indeed!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFDWHBWR6KVQDPQKZYPXMLRNBLCTANCNFSM4HJIXFFQ>
.
|
@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 :) |
Thank you for your response. I will have a look.
Thanks & Best Regards,
Kavya
…On Fri, 17 Apr, 2020, 2:43 PM Nicolas Kruchten, ***@***.***> wrote:
@kavyabgowda <https://github.com/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 :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFDWHFSKKVO5W246UY4BETRNBMJBANCNFSM4HJIXFFQ>
.
|
can you show code? I need change bar colors based on values |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
Thank you so much!
The text was updated successfully, but these errors were encountered: