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.
See also
Other shiny:
atCanvasOutput(),
at_annotate(),
at_app(),
at_canvas(),
at_canvas_fit(),
at_canvas_proxy(),
at_canvas_set_annotations(),
at_canvas_set_overlay(),
at_canvas_set_selection(),
at_canvas_set_tool(),
at_tile_source(),
renderAtCanvas()