letsPlot
Embed a Lets-Plot figure inside a DslSlide content{} block. The figure is exported to self-contained HTML and served from a dedicated iframe so the Lets-Plot JS runtime does not collide with reveal.js's own scripts.
The iframe's rendered size (controlled by iframeConfig) must stay compatible with the plot's own dimensions (controlled by dimensions): if iframeConfig.width is "600px" the plot should be about that wide, otherwise you will see clipping or extra whitespace. A good tuning workflow is to set iframeConfig.style = "border: 1px solid black;" while iterating and remove it once the sizes line up.
Parameters
plot width × height passed to Lets-Plot's HTML exporter. Omit to let Lets-Plot choose.
size/style overrides for the enclosing iframe. Merged with global and presentation defaults.
lambda returning the Figure to render.
Throws
if called outside a DslSlide content{} block.