Skip to contents

Take a plotting object and save in temp storage, so it can be outputted with exact dimensions. Primarily used to allow for adjusting plot dimensions within function reference examples.

Usage

render_plot_from_storage(plot, width, height)

Arguments

plot

(ggplot) ggplot output from a plotting function

width

(numeric) width of rendered plot

height

(numeric) height of rendered plot