You are reading an old version of the documentation (v2.2.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.axis3d.Axis.html
Version 2.2.0
matplotlib
Fork me on GitHub

This Page

mpl_toolkits.mplot3d.axis3d.Axis

class mpl_toolkits.mplot3d.axis3d.Axis(adir, v_intervalx, d_intervalx, axes, *args, **kwargs)
draw(renderer)

Draw the axis lines, grid lines, tick lines and labels

draw_pane(renderer)
get_major_ticks(numticks=None)

get the tick instances; grow as necessary

get_rotate_label(text)
get_tick_positions()
get_tightbbox(renderer)

Return a bounding box that encloses the axis. It only accounts tick labels, axis label, and offsetText.

get_view_interval()

return the Interval instance for this 3d axis view limits

init3d()
set_pane_color(color)

Set pane color to a RGBA tuple.

set_pane_pos(xys)
set_rotate_label(val)

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_view_interval(vmin, vmax, ignore=False)

If ignore is False, the order of vmin, vmax does not matter; the original axis orientation will be preserved. In addition, the view limits can be expanded, but will not be reduced. This method is for mpl internal use; for normal use, see set_xlim().