GC.element_style()
Edit or reset one element: a gene, label, title or legend entry.
Usage
python
chart.element_style(
component,
row_id,
cluster,
part,
end,
reset,
group,
**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 |
|---|---|---|
component | str | "genes", "labels", "coordinates", "clusterTitle", "clusterFooter", "clusterLabel", "legend", "title", "scaleBar" or "scale". Default "genes". |
row_id | float, optional | The row (rowID, from 1) of a gene, label or coordinate. |
cluster | int or str, optional | The cluster of a title, footer, label, scale or scale bar. |
part | str, optional | "title" or "subtitle"; "label" or "marker" for the legend. |
end | str, optional | "start" or "end", for a coordinate. |
reset | bool | Remove the earlier edits of the element instead. Default False. |
group | str, optional | The group of a legend entry. |
**options | The element's new options, e.g. fill="blue", move_x=10, text="New". |
Value
GC: The chart.
