Heatmap.annotation#
missionbio.mosaic.plots.heatmap.Heatmap.annotation
- static Heatmap.annotation(text: str, xref: str = 'x3 domain', yref: str = 'y domain') Annotation #
Helper function to add an annotation on top of the heatmap
- Parameters:
- textstr
The annotation text
- xrefstr
The xref of the annotation. This is passed to the go.layout.Annotation constructor. The default value works for the heatmap layout created using draw
- yrefstr
The yref of the annotation. This is passed to the go.layout.Annotation constructor The default value works for the heatmap layout created using draw