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:
Csaba Kiraly 2023-07-12 21:28:21 +02:00
parent 0dfbace655
commit b427cf93c0
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 4 additions and 1 deletions

View File

@ -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__":