def map_mediterranean(self, res='l'):
"""
It creates a map of the Mediterranean.
:param res: Resolution of the map
:return:
"""
self.m = Basemap(projection='mill', resolution=res, llcrnrlat=30, llcrnrlon=-13, urcrnrlat=47, urcrnrlon=38)
# Draw the costal lines
self.m.drawcoastlines()
# Fill the continents with black
self.m.fillcontinents(color='K')
评论列表
文章目录