Rna.update_coloraxis

Rna.update_coloraxis#

missionbio.mosaic.rna.Rna.update_coloraxis

static Rna.update_coloraxis(fig: Union[Figure, FigureWidget], layer: Union[str, ndarray], coloraxis: int = 1, **kwargs) 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.

kwargsdict

They have no effect for Rna coloraxis.


Rna