data_describe.misc.colors

get_p_RdBl_cmap()

p_RdBl red-blue colormap.

mpl_to_plotly_cmap(cmap)

Convert a matplotlib cmap for use with Plotly.

data_describe.misc.colors.get_p_RdBl_cmap() → LinearSegmentedColormap

p_RdBl red-blue colormap.

data_describe.misc.colors.mpl_to_plotly_cmap(cmap) → List

Convert a matplotlib cmap for use with Plotly.

https://plotly.com/python/v3/matplotlib-colorscales/

Parameters

cmap – The matplotlib colormap

Returns

Plotly colorscale