plotly_express.colors.diverging

Diverging color scales are appropriate for continuous data that has a natural midpoint other otherwise informative special value, such as 0 altitude, or the boiling point of a liquid. The color scales in this module are mostly meant to be passed in as the color_continuous_scale argument to various functions, and to be used with the color_continuous_midpoint argument.

Functions

def swatches()

Returns

A ExpressFigure object. This figure demonstrates the color scales and sequences in this module, as stacked bar charts.