GCWidget.zoom_to()
Set the zoom window of the chart, R's GC_zoom_to().
Moves the zoom slider of .zoom() without drawing the chart again. With .events(zoom=True), the chart reports the new window in zoom, with action "set".
Usage
python
widget.zoom_to(range=None)widget is a GCWidget.
Arguments
| Argument | Type | Description |
|---|---|---|
range | sequence of two numbers or None | The window, as [start, end] in the units of the mode of .zoom(): shares of the clusters ("relative") or base pairs ("absolute"). None shows everything. The range of zoom can be passed back as it is. |
Errors
| Error | When |
|---|---|
ValueError | When range is not valid. |
