mpl_toolkits.mplot3d.axes3d.Axes3D.mouse_init#

Axes3D.mouse_init(rotate_btn=1, pan_btn=2, zoom_btn=3)[source]#

Set the mouse buttons for 3D rotation and zooming.

Parameters:
rotate_btnint or list of int, default: 1

The mouse button or buttons to use for 3D rotation of the axes.

pan_btnint or list of int, default: 2

The mouse button or buttons to use to pan the 3D axes.

zoom_btnint or list of int, default: 3

The mouse button or buttons to use to zoom the 3D axes.