GC.cluster_title()
Add a title and subtitle above each cluster.
Usage
python
chart.cluster_title(
title,
subtitle,
subtitle_font,
title_font,
show,
height,
cluster,
align,
spacing,
**options,
)An argument shown without a default is optional too: left out, the chart keeps its default.
chart is a GC chart.
Arguments
| Argument | Type | Description |
|---|---|---|
title, subtitle | str or list of str, optional | The texts, one per cluster or recycled. |
subtitle_font, title_font | dict | Font options. |
show | bool | Whether to show the titles. Default True. |
height | str or float, optional | Height of the titles. |
cluster | int, str or list, optional | The clusters, by number (from 1) or name. Default: all. |
align | str or list of str, optional | "left", "center" or "right", per cluster or for all. |
spacing | float or list of float, optional | Pixels between title and subtitle, per cluster or for all. |
**options | Further options, e.g. position. |
Value
GC: The chart.
