pub fn render_png(spec: &PlotSpec) -> Result<Vec<u8>, RenderError>
Render spec as a PNG image.
spec
When the spec is invalid, the bundled font cannot load, or PNG encoding fails.