Heatmap.set_ticks

Heatmap.set_ticks#

missionbio.plotting.heatmap.Heatmap.set_ticks

static Heatmap.set_ticks(axis: Union[YAxis, XAxis], groups: ndarray, proportions: bool = False) ndarray#

Set the tickvalues as the unique values in groups.

Parameters:
axisUnion[go.YAxis, go.XAxis]

The axis whose tickvalues are to be set

groupsnp.ndarray

The group for each row/col in the heatmap

proportionsbool

Whether to show the proportion of each group


< Class Heatmap