mirror of
https://github.com/logos-storage/das-research.git
synced 2026-01-02 13:13:09 +00:00
Merge pull request #65 from codex-storage/fix-plot-range
progress plot: always use y range 0..1
This commit is contained in:
commit
93e07e1838
@ -782,11 +782,7 @@ class Visualizor:
|
||||
conf["data"] = [vector1, vector2, vector3]
|
||||
conf["xdots"] = [x*self.config.stepDuration for x in range(len(vector1))]
|
||||
conf["path"] = plotPath+"/nodesReady.png"
|
||||
maxi = 0
|
||||
for v in conf["data"]:
|
||||
if max(v) > maxi:
|
||||
maxi = max(v)
|
||||
conf["yaxismax"] = maxi
|
||||
conf["yaxismax"] = 1
|
||||
plotData(conf)
|
||||
print("Plot %s created." % conf["path"])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user