sps: Set plot size for jupyter IRKernel

View source: R/utils.R

spsR Documentation

Set plot size for jupyter IRKernel

Description

Set plot size for jupyter IRKernel

Usage

sps(width, height)

Arguments

width

width of the plot

height

height of the plot

Value

previous width and height (invisibly)

Examples

sps(10, 5)
plot(1:10)

# save previous size
prev <- sps(5, 5)
plot(1:10)
sps(prev[1], prev[2])


tanaylab/tgutil documentation built on March 16, 2024, 12:07 a.m.