mpl_toolkits.mplot3d.axis3d.Axis
- class mpl_toolkits.mplot3d.axis3d.Axis(axes, *, rotate_label=None, **kwargs)
Bases:
XAxisAn Axis class for the 3D plots.
- Parameters
Bases: XAxis
An Axis class for the 3D plots.
AxesThe Axes to which the created Axis belongs.
The acceptance radius for containment tests. See also
Axis.contains.
Whether to clear the Axis on creation. This is not required, e.g., when
creating an Axis as part of an Axes, as Axes.clear will call
Axis.clear.
.. versionadded:: 3.8
[Deprecated]
[Deprecated]
Draw the Artist (and its children) using the given renderer.
This has no effect if the artist is not visible (Artist.get_visible
returns False).
RendererBase subclass.This method is overridden in the Artist subclasses.
Draw pane.
RendererBase subclassGet the label position.
The position of the axis label.
Return the list of major Ticks.
Return the list of minor Ticks.
Get the ticks position.
The position of the bolded axis lines, ticks, and tick labels.
Return a bounding box that encloses the axis. It only accounts tick labels, axis label, and offsetText.
If for_layout_only is True, then the width of the label (if this is an x-axis) or the height of the label (if this is a y-axis) is collapsed to near zero. This allows tight/constrained_layout to ignore too-long labels when doing their layout.
[Deprecated]
Set multiple properties at once.
a.set(a=A, b=B, c=C)
is equivalent to
a.set_a(A)
a.set_b(B)
Set the label position.
The position of the axis label.
Set pane color.
Color for axis pane.
Alpha value for axis pane. If None, base it on color.
Whether to rotate the axis label: True, False or None. If set to None the label will be rotated if longer than 4 chars.
Set the ticks position.
The position of the bolded axis lines, ticks, and tick labels.
[Deprecated]
In addition to the full property names, aliases are also supported, e.g.
set(lw=2) is equivalent to set(linewidth=2), but it is an error
to pass both simultaneously.
The order of the individual setter calls matches the order of parameters
in set(). However, most properties do not depend on each other so
that order is rarely relevant.
Supported properties are
Property
Description
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array and two offsets from the bottom left corner of the image
float or None
bool
BboxBaseor Nonebool
Patch or (Path, Transform) or None
unknown
str
bool
unknown
unknown
unknown
{'lower', 'upper', 'both', 'default', 'none'}
str
Formatter,str, or function
Formatter,str, or functionbool
list of
AbstractPathEffectNone or bool or float or callable
float
bool
unknown
unknown
(scale: float, length: float, randomness: float)
bool or None
unknown
sequence of str or of
Texts1D array-like
{'lower', 'upper', 'both', 'default', 'none'}
units tag
str
unknown
bool
float