def map_world(self, res='l'):
"""
It creates a map of the world.
:return:
"""
self.m = Basemap(projection='mill', resolution=res)
# Draw the costal lines
self.m.drawcoastlines()
# Fill the continents with black
self.m.fillcontinents(color='K')
评论列表
文章目录