CartesianAxes¶
- class CartesianAxes(*args, **kwargs)[source]¶
Bases:
proplot.axes.shared._SharedAxes
,proplot.axes.plot.PlotAxes
Axes subclass for plotting in ordinary Cartesian coordinates. Adds the
format
method and overrides several existing methods.- Parameters
%(cartesian.format)s
*args, **kwargs – Passed to
proplot.axes.Axes
.
- Other Parameters
%(axes.format)s
%(axes.rc)s
See also
CartesianAxes.format
,proplot.axes.Axes
,proplot.axes.PlotAxes
,proplot.figure.Figure.subplot
,proplot.figure.Figure.add_subplot
Methods Summary
altx
(**kwargs)Add an axes locked to the same location with a distinct x axis.
alty
(**kwargs)Add an axes locked to the same location with a distinct y axis.
dualx
(funcscale, **kwargs)Add an axes locked to the same location whose x axis denotes equivalent coordinates in alternate units.
dualy
(funcscale, **kwargs)Add an axes locked to the same location whose y axis denotes equivalent coordinates in alternate units.
format
()Modify axes limits, axis scales, axis labels, spine locations, tick locations, tick labels, and more.
twinx
()Add an axes locked to the same location with a distinct y axis.
twiny
()Add an axes locked to the same location with a distinct x axis.