Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create png file, it seems that a space is needed #19

Open
metal3d opened this issue Mar 20, 2018 · 0 comments
Open

Cannot create png file, it seems that a space is needed #19

metal3d opened this issue Mar 20, 2018 · 0 comments

Comments

@metal3d
Copy link

metal3d commented Mar 20, 2018

Hi, I may have found a typo here

https://github.com/Arafatk/glot/blob/79d5219000f05727de933dbd5259b4dce6aacbc0/common.go#L179

If I'm not wrong:

outputFileCommand := "set output" + "'" + filename + "'" 

should be:

outputFileCommand := "set output" + " '" + filename + "'" 

That why I always use fmt.Sprintf :)

outputFileCommand := fmt.Sprintf("set output '%s'", filename)

I don't have tried, I'm using Jupyter and try to make an easy function to draw graphs, but at this time, with lgo project, i've got no output (and no error...) from SavePlot() function, investigating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant