Skip to contents

Retained for API compatibility; it has no visible effect on the built-in canvas. The canvas shows one embedded image rendered in R, and cannot recompute bands in the browser. To change the displayed bands, re-render the widget with a view (see at_canvas() and at_band_view()), as the annotation app does.

Usage

at_canvas_set_band(proxy, band, call = rlang::caller_env())

Arguments

proxy

An atcanvas_proxy.

band

A band index or a length-3 vector of band indices.

call

The calling environment, for error reporting.

Value

The proxy, invisibly.