Dna.update_coloraxis#

static Dna.update_coloraxis(fig, layer)#

Sets the colorscale for DNA.

Parameters
figplotly.Figure

The figure whose layout has to be updated.

layerstr

The layer according to which the coloraxis has to be updated.