fig save off
@@ -8,10 +8,10 @@ import covasim as cv
do_plot = 1
do_show = 0
-do_save = 1
+do_save = 0
debug = 1
keep_sims = 0
-fig_path = 'results/testing_scens.png'
+fig_path = [f'results/testing_scen_{i}.png' for i in range(3)]
def test_interventions(do_plot=False, do_show=True, do_save=False, fig_path=None):
sc.heading('Test of testing interventions')
@@ -213,9 +213,9 @@ def test_tracedelay(do_plot=False, do_show=True, do_save=False, fig_path=None):
if __name__ == '__main__':
sc.tic()
-# scens1 = test_interventions(do_plot=do_plot, do_save=do_save, do_show=do_show, fig_path=fig_path)
- scens2 = test_turnaround(do_plot=do_plot, do_save=do_save, do_show=do_show, fig_path=fig_path)
-# scens3 = test_tracedelay(do_plot=do_plot, do_save=do_save, do_show=do_show, fig_path=fig_path)
+ scens1 = test_interventions(do_plot=do_plot, do_save=do_save, do_show=do_show, fig_path=fig_path[0])
+ scens2 = test_turnaround(do_plot=do_plot, do_save=do_save, do_show=do_show, fig_path=fig_path[1])
+ scens3 = test_tracedelay(do_plot=do_plot, do_save=do_save, do_show=do_show, fig_path=fig_path[2])
sc.toc()
