diff --git a/src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs b/src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs index 462903f1c..0038a6256 100644 --- a/src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs +++ b/src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs @@ -41,7 +41,7 @@ type PuppeteerSharpRenderer() = fun (x:Match) -> x.Result( "$1" - + $".then(x => Plotly.toImage(x, {{ format: '{StyleParam.ImageFormat.toString format}', scale: 2, width: {width}, height: {height} }}))" + + $".then(x => Plotly.toImage(x, {{ format: '{StyleParam.ImageFormat.toString format}', scale: 1, width: {width}, height: {height} }}))" + ".then(img => window.plotlyImage = img)" ) ) @@ -193,4 +193,4 @@ type PuppeteerSharpRenderer() = member this.SaveSVG (path:string, width:int, height: int, gChart:GenericChart.GenericChart) = (this :> IGenericChartRenderer).SaveSVGAsync(path, width, height, gChart) - |> Async.RunSynchronously \ No newline at end of file + |> Async.RunSynchronously