arafatkatze / glot

Glot is a plotting library for Golang built on top of gnuplot.
MIT License
398 stars 19 forks source link

[Windows] Writes corrupted image #27

Open Reawel opened 1 year ago

Reawel commented 1 year ago

Hey Arafatk, when using this library under Windows, it saves the .png file in silence, but the file cannot open. The problem is that Gnuplot under windows has a problem with the '\' in the filepaths image

I could fix this problem with a quick and dirty replacing all '\' with '/' image

Just FYI.

PS: Nice library, though.

arafatkatze commented 1 year ago

@Reawel That fix would be awesome thanks a lot