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

Method release_mouse

lib/matplotlib/backend_bases.py:1936–1944  ·  view source on GitHub ↗

Release the mouse grab held by the `~.axes.Axes` *ax*. Usually called by the widgets. It is ok to call this even if *ax* doesn't have the mouse grab currently.

(self, ax)

Source from the content-addressed store, hash-verified

1934 self.mouse_grabber = ax
1935
1936 def release_mouse(self, ax):
1937 """
1938 Release the mouse grab held by the `~.axes.Axes` *ax*.
1939
1940 Usually called by the widgets. It is ok to call this even if *ax*
1941 doesn't have the mouse grab currently.
1942 """
1943 if self.mouse_grabber is ax:
1944 self.mouse_grabber = None
1945
1946 def set_cursor(self, cursor):
1947 """

Callers 5

_remove_axesMethod · 0.80
_releaseMethod · 0.80
_updateMethod · 0.80
_updateMethod · 0.80
_releaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected