如何将地图设置为1600x900 px?
我正在尝试使用Basemap库使用Jupyter Notebook绘制地图,如下所示:
from mpl_toolkits.basemap import Basemap
import numpy as np
import matplotlib.pyplot as plt
atlas = Basemap(
llcrnrlon = -10.5, # Longitude lower right corner
llcrnrlat = 35, # Latitude lower right corner
urcrnrlon = 14.0, # Longitude upper right corner
urcrnrlat = 44.0, # Latitude upper right corner
resolution = 'i', # Crude resolution
projection = 'tmerc', # Transverse Mercator projection
lat_0 = 39.5, # Central latitude
lon_0 = -3.25 # Central longitude
)
atlas.drawmapboundary(fill_color='aqua')
atlas.fillcontinents(color='#cc9955',lake_color='aqua')
atlas.drawcoastlines()
plt.show()
并获得以下结果
是否可以使绘制的地图更大,定义它应该具有的最小宽度和高度?