make_bg_image

visualize.make_bg_image(type='radial', cmap='plasma_r')

Return a Plotly layout image trace from a synthetic radial or axis-aligned gradient.

Parameters

Name Type Description Default
type ‘radial’, ‘left_to_right’, ‘bottom_to_top’, defaults to radial (optional) 'radial'
cmap The colormap to use, defaults to plasma_r (optional) 'plasma_r'

Returns

Name Type Description
A plotly image object