toSelfContainedHTML

fun toSelfContainedHTML(figure: Figure): String(source)

Produces a complete HTML document from a Figure that carries its own copy of the Lets-Plot JS library, so it renders wherever it is put. Differs from toHTML only in that the plot is not wrapped in an iframe.