7

How can I increase the size of the basemap? It is small compared to the size of the accompanying color bar. My basemap includes the geographic locations that I want, it is just physically too small. Thanks in advance for any guidance you can provide

4

1 回答 1

12

一种可能是在调用plt.figure(figsize=(WIDTH, HEIGHT))地图对象的任何绘图方法之前调用,如下所示:

from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt

plt.figure(figsize=(12,6))
map = Basemap()
map.drawcoastlines()
map.plot()
于 2014-01-26T11:07:53.417 回答