This method generates and retrieves a plot from an htmlReport
object. This code writes the plot to a temporal png, then it loads the png in base64 encoding and then displays the plot within the HTML report.
Displays the plot within the HTML report.
A plot object like ggplot.
plot width
plot height
units in plot size
string including html properties of img
logical indicating if plot must be resizable
Get Plot from htmlReport Object