XYAxes¶
-
class
XYAxes
(*args, **kwargs)[source]¶ Bases:
proplot.axes.Axes
Axes subclass for ordinary 2D cartesian coordinates. Adds several new methods and overrides existing ones.
Attributes Summary
The registered projection name.
Methods Summary
altx
(*args, **kwargs)Alias and more intuitive name for
twiny
.alty
()Alias and more intuitive name for
twinx
.draw
([renderer])Adds post-processing steps before axes is drawn.
dualx
(transform[, transform_kw])Makes a secondary x axis for denoting equivalent x coordinates in alternate units.
dualy
(transform[, transform_kw])Makes a secondary y axis for denoting equivalent y coordinates in alternate units.
format
(*[, aspect, xloc, yloc, xspineloc, …])Calls
Axes.format
andAxes.context
, formats the x and y axis labels, tick locations, tick labels, axis scales, spine settings, and more.get_tightbbox
(renderer, *args, **kwargs)Adds post-processing steps before tight bounding box is calculated.
twinx
()Mimics matplotlib’s
twinx
.twiny
()Mimics matplotlib’s
twiny
.