Another question: where does the script save the data / graphs when running it? Or does it do that at all?
It looks like it might try to open a plot window, but I’m running it on a headless server… so nothing will happen. Is the (hard-to-parse) text scrolling by all that I’ll get at the end of a run?
I’ve got it mostly working now… problem is that the default plot size is unusable, the legend overlaps, etc. etc. -- when run interactively, you can just resize the window and it’ll redraw, and then you save it once you’re happy. So now I’m also setting plot size, font size, legend position, and then it’s “just” a (plt.savefig "plot.png") added before the (plt.show).
I might also add a more easily parseable log output, but for now tee and a small Lua script mangling it into CSV is enough.
I’ll probably clean up all of that in a couple of hours and send another patch / merge request. Tho it’s probably a good idea to get someone else to review it given that I have near-zero prior experience w/ Python.
[W]here does the script save the data / graphs when running it?
It doesn’t. The project should have a persistent memoization system but I didn’t implement one. The way to save the data is to pipe your output into a file. The way I save the graphs is to click “Save the figure” on your graph.
Is the (hard-to-parse) text scrolling by all that I’ll get at the end of a run?
Yup. If anyone wants to improve the system I am happy to accept merge requests.
Another question: where does the script save the data / graphs when running it? Or does it do that at all?
It looks like it might try to open a plot window, but I’m running it on a headless server… so nothing will happen. Is the (hard-to-parse) text scrolling by all that I’ll get at the end of a run?
On my Windows machine it opens a plot window that has UI to save the image.
lsusr might know what command to add to trigger the save operation.
On my Linux machine it opens a plot window that has UI to save the image.
I’ve got it mostly working now… problem is that the default plot size is unusable, the legend overlaps, etc. etc. -- when run interactively, you can just resize the window and it’ll redraw, and then you save it once you’re happy. So now I’m also setting plot size, font size, legend position, and then it’s “just” a
(plt.savefig "plot.png")
added before the(plt.show)
.I might also add a more easily parseable log output, but for now
tee
and a small Lua script mangling it into CSV is enough.I’ll probably clean up all of that in a couple of hours and send another patch / merge request. Tho it’s probably a good idea to get someone else to review it given that I have near-zero prior experience w/ Python.
It doesn’t. The project should have a persistent memoization system but I didn’t implement one. The way to save the data is to pipe your output into a file. The way I save the graphs is to click “Save the figure” on your graph.
Yup. If anyone wants to improve the system I am happy to accept merge requests.