tool_undo {rbokeh} | R Documentation |
Add "undo" tool to a Bokeh figure
tool_undo(fig, remove = FALSE)
fig |
Figure to modify. |
remove |
Logical indicating whether the tool should be removed. |
Other tools: tool_box_select
,
tool_box_zoom
,
tool_crosshair
, tool_help
,
tool_lasso_select
, tool_pan
,
tool_poly_select
, tool_redo
,
tool_reset
, tool_save
,
tool_wheel_pan
,
tool_wheel_zoom
,
tool_zoom_in
, tool_zoom_out
figure() %>% ly_points(1:10) %>% tool_undo() %>% tool_redo()