GC.zoom()
Add a zoom slider below the clusters.
Usage
python
chart.zoom(
show,
range,
mode,
min,
update,
height,
overview,
color,
style,
window_style,
handle_style,
)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 |
|---|---|---|
show | bool | Whether to show the slider. Default True. |
range | list of float, optional | The window shown first: shares of the clusters, e.g. [0.25, 0.5], or base pairs with mode="absolute". |
mode | str, optional | "relative" (default): the same share of every cluster; "absolute": the same base pairs. |
min | float, optional | The narrowest window. |
update | str, optional | "live" or "release": draw while dragging, or when let go. |
height | float, optional | Height of the slider in pixels. |
overview | bool, optional | Whether the slider shows the genes of each cluster. |
color | str, optional | Colour of the slider. |
style, window_style, handle_style | dict, optional | CSS styles of the slider, its window and its handles. |
Value
GC: The chart.
