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
Implement and support a new color_discrete_sequence parameter.
From the Plotly docs:
color sequences are lists of colors to be mapped onto discrete data values. No interpolation occurs when using color sequences, unlike with continuous color scales, and each color is used as-is.
Support passing color sequences from px.colors.qualitative.* (e.g., px.colors.qualitative.Plotly) (REF)
Support passing any list of CSS colors (e.g., ['#636EFA', 'rgb(10, 10, 10)', 'red', ...](REF)
Note this behaviour from Plotly and how it can be relevant for our project and our implementation of color_discrete_sequence: "If your color sequence has fewer colors than the number of unique values in the column you are mapping to color, the colors will cycle through and repeat"
The text was updated successfully, but these errors were encountered:
Implement and support a new
color_discrete_sequence
parameter.From the Plotly docs:
px.colors.qualitative.*
(e.g.,px.colors.qualitative.Plotly
) (REF)['#636EFA', 'rgb(10, 10, 10)', 'red', ...]
(REF)color_discrete_sequence
: "If your color sequence has fewer colors than the number of unique values in the column you are mapping tocolor
, the colors will cycle through and repeat"The text was updated successfully, but these errors were encountered: