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

Method release

lib/matplotlib/widgets.py:48–52  ·  view source on GitHub ↗

Release the lock from *o*.

(self, o)

Source from the content-addressed store, hash-verified

46 self._owner = o
47
48 def release(self, o):
49 """Release the lock from *o*."""
50 if not self.available(o):
51 raise ValueError('you do not own this lock')
52 self._owner = None
53
54 def available(self, o):
55 """Return whether drawing is available to *o*."""

Callers 6

disableMethod · 0.45
_cancel_actionMethod · 0.45
_releaseMethod · 0.45
panMethod · 0.45
zoomMethod · 0.45
on_releaseMethod · 0.45

Calls 1

availableMethod · 0.95

Tested by

no test coverage detected