Dna.update_coloraxis

Dna.update_coloraxis#

missionbio.mosaic.dna.Dna.update_coloraxis

static Dna.update_coloraxis(fig: Union[Figure, FigureWidget], layer: Union[str, ndarray], coloraxis: int = 1, **kwargs: Any) None#

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.

coloraxisint

The coloraxis to update.

kwargsAny

They have no effect for Dna coloraxis.


< Class Dna