Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Can I help you about python? Ask me.

Dedeco dedeco

👨‍💻
Can I help you about python? Ask me.
View GitHub Profile
View show_map.py
# More Info: http://davydany.com/post/32287214449/matplotlibs-basemap-plotting-a-list-of-latitude
def show_map(self, a):
# 'a' is of the format [(lats, lons, data), (lats, lons, data)... (lats, lons, data)]
lats = [ x[0] for x in a ]
lons = [ x[1] for x in a ]
data = [ x[2] for x in a ]
lat_min = min(lats)
lat_max = max(lats)