MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / disable_mouse_rotation

Method disable_mouse_rotation

lib/mpl_toolkits/mplot3d/axes3d.py:1508–1510  ·  view source on GitHub ↗

Disable mouse buttons for 3D rotation, panning, and zooming.

(self)

Source from the content-addressed store, hash-verified

1506 self._zoom_btn = np.atleast_1d(zoom_btn).tolist()
1507
1508 def disable_mouse_rotation(self):
1509 """Disable mouse buttons for 3D rotation, panning, and zooming."""
1510 self.mouse_init(rotate_btn=[], pan_btn=[], zoom_btn=[])
1511
1512 def can_zoom(self):
1513 # doc-string inherited

Callers

nothing calls this directly

Calls 1

mouse_initMethod · 0.95

Tested by

no test coverage detected