Skip to content

GC.tooltip() ​

Set the tooltip of the genes.

Usage ​

python
chart.tooltip(formatter, show, 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
formatterstr or boolThe text, with column values in braces. Default "<b>Start:</b> {start}<br><b>End:</b> {end}". False hides the tooltip.
showboolWhether to show the tooltip. Default True.
clusterint, str or list, optionalThe clusters, by number (from 1) or name. Default: all.
**optionsFurther options, e.g. background_color="black".

Value ​

GC: The chart.