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
It would be useful if Plotly exposed functions to map floats, e.g. values in [0,1], to corresponding RGB strings formatted as 'rgb(255, 0, 0)'. There are lots of use cases for this. For example, if you want to plot a network where each edge is colored according to a weight between 0 and 1 using a continuous color scale. The only way I know to do this right now is to make a separate trace for each edge in the graph and specify its color manually.
The text was updated successfully, but these errors were encountered:
thanks for the suggestion @ghproek - we're unlikely to get to this any time soon, but I'd be happy to prioritize review of a community PR. thanks - @gvwilson
I've used Plotly for years and years and never found this in the documentation. What would be really helpful is if this function were explicitly demoed in the main pages you hit when you search for color scales, e.g. https://plotly.com/python/builtin-colorscales. Would that be at all feasible?
It would be useful if Plotly exposed functions to map floats, e.g. values in [0,1], to corresponding RGB strings formatted as 'rgb(255, 0, 0)'. There are lots of use cases for this. For example, if you want to plot a network where each edge is colored according to a weight between 0 and 1 using a continuous color scale. The only way I know to do this right now is to make a separate trace for each edge in the graph and specify its color manually.
The text was updated successfully, but these errors were encountered: