tool_resize: Add "resize" tool to a Bokeh figure

View source: R/fig_tool.R

tool_resizeR Documentation

Add "resize" tool to a Bokeh figure

Description

Add "resize" tool to a Bokeh figure

Usage

tool_resize(fig)

Arguments

fig

figure to modify

Note

Tools can be easily specified as a vector of tool names in the tools argument when instantiating a figure. In this case, they are added with defaults. Explicitly calling these tool_ functions will manually add the tool to a figure and allow additional specification of parameters.

See Also

Other tools: tool_box_select(), tool_box_zoom(), tool_crosshair(), tool_hover(), tool_lasso_select(), tool_pan(), tool_reset(), tool_save(), tool_tap(), tool_wheel_zoom()

Examples


figure() %>% ly_points(1:10) %>%
 tool_resize()


bokeh/rbokeh documentation built on Nov. 3, 2023, 2:36 a.m.