Return a cartopy.crs.Projection
or Basemap
instance.
name (str
, cartopy.crs.Projection
, or Basemap
) – The projection name or projection class instance. If the latter, it is simply returned. If the former, it must correspond to one of the PROJ projection name shorthands, like in basemap.
The following table lists the valid projection name shorthands, their full names (with links to the relevant PROJ documentation), and whether they are available in the cartopy and basemap packages. (added) indicates a projection class that proplot has “added” to cartopy using the cartopy API.
backend ({'cartopy', 'basemap'}
, default: rc['geo.backend']
= 'cartopy'
) – Whether to return a cartopy Projection
instance or a basemap Basemap
instance.
lon0, lat0 (float
, optional) – The central projection longitude and latitude. These are translated to central_longitude
, central_latitude
for cartopy projections.
lon_0, lat_0 (float
, optional) – Aliases for lon0
, lat0
.
lonlim (2-tuple
of float
, optional) – The longitude limits. Translated to min_longitude
and max_longitude
for cartopy projections and llcrnrlon
and urcrnrlon
for basemap projections.
latlim (2-tuple
of float
, optional) – The latitude limits. Translated to min_latitude
and max_latitude
for cartopy projections and llcrnrlon
and urcrnrlon
for basemap projections.
**kwargs – Passed to the cartopy Projection
or basemap Basemap
class.
proj (mpl_toolkits.basemap.Basemap
or cartopy.crs.Projection
) – A cartopy or basemap projection instance.
References
For more information on map projections, see the wikipedia page and the PROJ documentation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4