Skip to content

Commit

Permalink
Update save_chart.go
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLai666 committed Sep 17, 2024
1 parent 6ed0c5f commit 15706d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot/save_chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func SavePNG(chart Renderable, pngPath string) {
// 使用 snapshot-chromedp 將 HTML 渲染為 PNG
err := render.MakeChartSnapshot(buf.Bytes(), pngPath)
if err != nil {
insyra.LogFatal("plot.SavePNG: failed to save PNG: %v", err)
insyra.LogWarning("plot.SavePNG: failed to save PNG: %v", err)
}
insyra.LogInfo("plot.SavePNG: successfully saved PNG file.")
}
Expand Down

0 comments on commit 15706d7

Please sign in to comment.