Here\'s an image of US counties, created on top of
ax = plt.axes(projection=ccrs.LambertConformal()) ax.set_extent([-120, -70, 20, 50], ccrs.Geodetic()) <
ax = plt.axes(projection=ccrs.LambertConformal()) ax.set_extent([-120, -70, 20, 50], ccrs.Geodetic())
You can use subplots_adjust:
To remove all the whitespace from around the Axes object, use:
Axes
fig.subplots_adjust(left=0, right=1, bottom=0, top=1)
Setting the extent is changing the data limits, not the position/size of the Axes.
extent