Protein.update_coloraxis#
missionbio.mosaic.protein.Protein.update_coloraxis
- static Protein.update_coloraxis(fig: Union[Figure, FigureWidget], layer: Union[str, ndarray], coloraxis: int = 1, **kwargs: Any) None #
Sets the colorscale for Protein.
- 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 Protein coloraxis.
< Class Protein