GC.color()
Set the colours of the genes and the legend.
Usage
python
chart.color(color_scheme, custom_colors)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 |
|---|---|---|
color_scheme | str, optional | A d3 colour scheme (e.g. "schemeCategory10") or a geneviewer palette (e.g. "okabeIto", see geneviewer_palette). |
custom_colors | list or dict, optional | Colours recycled over the groups, or a dict of colours by group. Groups left out of a dict keep the colours of color_scheme, the palette of the theme or the default colours. |
Value
GC: The chart.
