A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://proplot.readthedocs.io/en/latest/api/proplot.constructor.Proj.html below:

Proj — ProPlot documentation

ProPlot Proj
Proj(name, backend=None, lon0=None, lon_0=None, lat0=None, lat_0=None, lonlim=None, latlim=None, **kwargs)[source]

Return a cartopy.crs.Projection or Basemap instance.

Parameters
  • 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.

Other Parameters

**kwargs – Passed to the cartopy Projection or basemap Basemap class.

Returns

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