import matplotlib.pyplot as plt import numpy as np import pyexcel # make sure the value of resolution is a lowercase L, # for 'low', not a numeral 1 my_map = Basemap(projection='merc', lat_0=57, lon_0=-135, resolution = 'h', area_thresh = 0.1, llcrnrlon=-117.5, llcrnrlat=32, urcrnrlon=-116.5, urcrnrlat=33.2) my_map.drawcoastlines() my_map.drawcountries() my_map.fillcontinents(color='coral') my_map.drawmapboundary() my_map.drawmeridians(np.arange(0, 360, 30)) my_map.drawparallels(np.arange(-90, 90, 30)) sheet = pyexcel.get_sheet(file_name="fire&wildfire_1333-geo.xlsx") sheetArray = sheet.to_array() long = sheetArray[2] lat = sheetArray[3] x, y = my_map(long, lat) my_map.plot(x, y, 'bo', markersize=10) plt.show()