Figure.add_axes¶
- Figure.add_axes(rect, **kwargs)[source]¶
Add a non-subplot axes to the figure.
- Parameters
rect (
4-tuple
offloat
) – The (left, bottom, width, height) dimensions of the axes in figure-relative coordinates.proj, projection (
str
,cartopy.crs.Projection
, orBasemap
, optional) – The map projection specification(s). If'cart'
or'cartesian'
(the default), aCartesianAxes
is created. If'polar'
, aPolarAxes
is created. Otherwise, the argument is interpreted byProj
, and the result is used to make aGeoAxes
(in this case the argument can be acartopy.crs.Projection
instance, aBasemap
instance, or a projection name listed in this table).proj_kw, projection_kw (dict-like, optional) – Keyword arguments passed to
Basemap
or cartopyProjection
classes on instantiation.basemap (
bool
or dict-like, optional) – Whether to useBasemap
orProjection
for map projections. Default isrc.basemap
=False
.
- Other Parameters
**kwargs – Passed to the proplot class
proplot.axes.CartesianAxes
,proplot.axes.PolarAxes
,proplot.axes.GeoAxes
, orproplot.axes.ThreeAxes
. This can include keyword arguments for projection-specificformat
commands.