print("Starting now") sTab = 'time_series_covid19_deaths_US' themeColumns = [ ['_4_14_20', '2020-04-14'], ['_4_13_20', '2020-04-13'], ['_4_12_20', '2020-04-12'] , ['_4_11_20', '2020-04-11'], ['_4_10_20', '2020-04-10'], ['_4_9_20', '2020-04-09'], ['_4_8_20', '2020-04-08'], ['_4_7_20', '2020-04-07'], ['_4_6_20', '2020-04-06'], ['_4_5_20', '2020-04-05'] , ['_4_4_20', '2020-04-04'], ['_4_3_20', '2020-04-03'], ['_4_2_20', '2020-04-02'], ['_4_1_20', '2020-04-01'], ['_3_31_20', '2020-03-31'], ['_3_30_20', '2020-03-30'], ['_3_29_20', '2020-03-29'] , ['_3_28_20', '2020-03-28'], ['_3_27_20', '2020-03-27'], ['_3_26_20', '2020-03-26'], ['_3_25_20', '2020-03-25'], ['_3_24_20', '2020-03-24'], ['_3_23_20', '2020-03-23'], ['_3_22_20', '2020-03-22'] , ['_3_21_20', '2020-03-21'], ['_3_20_20', '2020-03-20'], ['_3_19_20', '2020-03-19'], ['_3_18_20', '2020-03-18'], ['_3_17_20', '2020-03-17'], ['_3_16_20', '2020-03-16'], ['_3_15_20', '2020-03-15'] , ['_3_14_20', '2020-03-14'], ['_3_13_20', '2020-03-13'], ['_3_12_20', '2020-03-12'], ['_3_11_20', '2020-03-11'], ['_3_10_20', '2020-03-10'], ['_3_9_20', '2020-03-09'], ['_3_8_20', '2020-03-08'] , ['_3_7_20', '2020-03-07'], ['_3_6_20', '2020-03-06'], ['_3_5_20', '2020-03-05'], ['_3_4_20', '2020-03-04'], ['_3_3_20', '2020-03-03'], ['_3_2_20', '2020-03-02'], ['_3_1_20','2020-03-01'] ] for theme in themeColumns: col = theme[0] date = theme[1] do('shade window FrontWindow() 1 with {} ignore 0 graduated 0.0:0 10000:24 Symbol (35,12583104,36,"MapInfo Symbols",0,0) Symbol (35,255,36,"MapInfo Symbols",0,0) vary size by "LOG"'.format(col)) fileName = r'D:\3. Demo\2. Maps\2020\Covid19\04-14 Data April 14\Time Series\US {}.PNG'.format(date) print(fileName) do('Save Window FrontWindow() As "{}" Type "PNG" Resolution 300'.format(fileName)) do('Remove Map Window FrontWindow() Layer 1') print('Finished')