diff --git a/src/Plotly.NET.ImageExport/GenericChartExtensions.fs b/src/Plotly.NET.ImageExport/GenericChartExtensions.fs index 182f0175c..a28eb1906 100644 --- a/src/Plotly.NET.ImageExport/GenericChartExtensions.fs +++ b/src/Plotly.NET.ImageExport/GenericChartExtensions.fs @@ -18,7 +18,7 @@ module GenericChartExtensions = /// /// /// - [] + [] [] member this.ToBase64JPGStringAsync ( @@ -132,7 +132,7 @@ module GenericChartExtensions = [] ?Width: int, [] ?Height: int ) = - this |> Chart.savePNG (path, ?EngineType = EngineType, ?Width = Width, ?Height = Height) + this |> Chart.savePNGAsync (path, ?EngineType = EngineType, ?Width = Width, ?Height = Height) /// /// Saves the GenericChart as PNG image