Skip to content

GC.annotation() ​

Add an annotation: text, a line, an arrow, a symbol and more.

Usage ​

python
chart.annotation(type, cluster, **options)

An argument shown without a default is optional too: left out, the chart keeps its default.

chart is a GC chart.

Arguments ​

ArgumentTypeDescription
typestr"text", "textMarker", "line", "arrow", "symbol", "rectangle", "promoter", "terminator" or "arc". Default "text".
clusterint, str or list, optionalThe clusters, by number (from 1) or name. Default: all.
**optionsThe options of the annotation type, e.g. text="Here", x=100, y=70.

Value ​

GC: The chart.