autofig.call.Call.init (method)
def __init__(self, x=None, y=None, z=None, i=None, xerror=None, xunit=None, xlabel=None, xnormals=None, yerror=None, yunit=None, ylabel=None, ynormals=None, zerror=None, zunit=None, zlabel=None, znormals=None, iunit=None, itol=0.0, axorder=None, axpos=None, title=None, label=None, consider_for_limits=True, uncover=False, trail=False, **kwargs)
Create a autofig.call.Call object which defines a single call to matplotlib.
Arguments
x
(list/array, optional, default=None): array of values for the x-axes. Access via autofig.call.Call.x.y
(list/array, optional, default=None): array of values for the y-axes. Access via autofig.call.Call.y.z
(list/array, optional, default=None): array of values for the z-axes. Access via autofig.call.Call.zi
(list/array or string, optional, default=None): array of values for the independent-variable. If a string, can be one of: 'x', 'y', 'z' to reference an existing array. Access via autofig.call.Call.i.xerror
(float or list/array, optional, default=None): errors forx
. See autofig.call.Call.x and autofig.call.CallDimensionX.error.xunit
(string or astropy unit, optional, default=None): units forx
. See autofig.call.Call.x and autofig.call.CallDimensionX.unit.xlabel
(strong, optional, default=None): label forx
. See autofig.call.Call.x and autofig.call.CallDimensionX.label.xnormals
(list/array, optional, default=None): normals forx
. Currently ignored.yerror
(float or list/array, optional, default=None): errors fory
. See autofig.call.Call.y and autofig.call.CallDimensionY.error.yunit
(string or astropy unit, optional, default=None): units fory
. See autofig.call.Call.y and autofig.call.CallDimensionY.unit.ylabel
(strong, optional, default=None): label fory
. See autofig.call.Call.y and autofig.call.CallDimensionY.label.ynormals
(list/array, optional, default=None): normals fory
. Currently ignored.zerror
(float or list/array, optional, default=None): errors forz
. See autofig.call.Call.z and autofig.call.CallDimensionZ.error.zunit
(string or astropy unit, optional, default=None): units forz
. See autofig.call.Call.z and autofig.call.CallDimensionZ.unit.zlabel
(strong, optional, default=None): label forx
. See autofig.call.Call.z and autofig.call.CallDimensionZ.label.znormals
(list/array, optional, default=None): normals forz
. Currently only used for autofig.call.Mesh.iunit
(string or astropy unit, optional, default=None): units fori
. See autofig.call.Call.i and autofig.call.CallDimensionI.unit.itol
(float, optional, default=0.0): see autofig.call.DimensionI.tol.axorder
(int, optional, default=None): see autofig.call.Call.axorder.axpos
(tuple, optional, default=None): see autofig.call.Call.axpos.title
(string, optional, default=None): see autofig.call.Call.title.label
(string, optional, default=None): see autofig.call.Call.label.consider_for_limits
(bool, optional, default=True): see autofig.call.Call.consider_for_limits.uncover
(bool, optional, default=False): see autofig.call.Call.uncover.trail
(bool or Float, optional, default=False): see autofig.call.Call.trail.**kwargs
: additional keyword arguments are stored and passed on when attaching to a parent axes. See autofig.axes.Axes.add_call.
Returns
- the instantiated autofig.call.Call object.