mpl_toolkits.mplot3d.axis3d.Axis
-
class mpl_toolkits.mplot3d.axis3d.Axis(adir, v_intervalx, d_intervalx, axes, *args, rotate_label=None, **kwargs)
[source] -
Bases:
matplotlib.axis.XAxis
An Axis class for the 3D plots.
Parameters: -
axesmatplotlib.axes.Axes
-
The
Axes
to which the created Axis belongs. -
pickradiusfloat
-
The acceptance radius for containment tests. See also
Axis.contains
.
-
property d_interval
-
draw(self, renderer)
[source] -
Draw the axis lines, grid lines, tick lines and labels
-
draw_pane(self, renderer)
[source]
-
get_major_ticks(self, numticks=None)
[source] -
Get the tick instances; grow as necessary.
-
get_rotate_label(self, text)
[source]
-
get_tick_positions(self)
[source] -
[Deprecated]
Notes
Deprecated since version 3.1:
-
get_tightbbox(self, renderer)
[source] -
Return a bounding box that encloses the axis. It only accounts tick labels, axis label, and offsetText.
-
init3d(self)
[source]
-
set_pane_color(self, color)
[source] -
Set pane color to a RGBA tuple.
-
set_pane_pos(self, xys)
[source]
-
set_rotate_label(self, val)
[source] -
Whether to rotate the axis label: True, False or None. If set to None the label will be rotated if longer than 4 chars.
-
property v_interval
-
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/mpl_toolkits.mplot3d.axis3d.Axis.html