I'm trying to zoom in some Cartopy plots in Orthographic projection, but it seems it is not possible with the simple ax.set_extent()
method.
The code I'm using:
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
fig = plt.figure()
ax = plt.axes(projection = ccrs.Orthographic())
ax.set_global()
ax.set_extent((-120,120,50,90), crs = ccrs.PlateCarree())
I receive the following error:
ValueError: Failed to determine the required bounds in projection coordinates.
Actually I'd only need to set a lower boundary latitude to make a plot of the polar region, which I used to do before with Basemap. However I do not see how to proceed with Cartopy.
Is there some way to do this?