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

draw(renderer) [source]

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

draw_pane(renderer) [source]
get_major_ticks(numticks=None) [source]

get the tick instances; grow as necessary

get_rotate_label(text) [source]
get_tick_positions() [source]
get_tightbbox(renderer) [source]

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

get_view_interval() [source]

return the Interval instance for this 3d axis view limits

init3d() [source]
set_pane_color(color) [source]

Set pane color to a RGBA tuple.

set_pane_pos(xys) [source]
set_rotate_label(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.

set_view_interval(vmin, vmax, ignore=False) [source]

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().

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.0.0/api/_as_gen/mpl_toolkits.mplot3d.axis3d.Axis.html