newExtent = df.extentnewExtent.XMin =-73.219086newExtent.XMax =-73.19356newExtent.YMin = 44.460346newExtent.YMax = 44.48325df.extent = newExtent #df.scale = 100000#arcpy.RefreshActiveView() arcpy.mapping.ExportToPNG(mxd, r"E:\projects\agglomeration\Images\Test1.png", resolution=144)arcpy.mapping.ExportToPNG(mxd, r"E:\projects\agglomeration\Images\Test2.png", df, df_export_width=1000, df_export_height=1000, resolution=144) name="NewTest";filename="E:\\projects\\agglomeration\\Images\\"+name+".png"arcpy.mapping.ExportToPNG(mxd, filename, resolution=144) myDict = {} myDict["Burlington"] = [1, 2] See http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/dataframe-class.htm
See http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/exporttopng.htm