plot figures right after simulation run
This allows to observe partial results during long studies. Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
0dfbace655
commit
b427cf93c0
5
study.py
5
study.py
|
@ -39,6 +39,10 @@ def runOnce(config, shape, execID):
|
|||
if config.dumpXML:
|
||||
result.dump()
|
||||
|
||||
if config.visualization:
|
||||
visual = Visualizor(execID, config, [result])
|
||||
visual.plotAll()
|
||||
|
||||
return result
|
||||
|
||||
def study():
|
||||
|
@ -88,7 +92,6 @@ def study():
|
|||
vis.plotHeatmaps()
|
||||
|
||||
visual = Visualizor(execID, config, results)
|
||||
visual.plotAll()
|
||||
visual.plotHeatmaps("nn", "fr")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue