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

Method available

lib/matplotlib/widgets.py:54–56  ·  view source on GitHub ↗

Return whether drawing is available to *o*.

(self, o)

Source from the content-addressed store, hash-verified

52 self._owner = None
53
54 def available(self, o):
55 """Return whether drawing is available to *o*."""
56 return not self.locked() or self.isowner(o)
57
58 def isowner(self, o):
59 """Return whether *o* owns this lock."""

Callers 10

__call__Method · 0.95
releaseMethod · 0.95
triggerMethod · 0.80
onmoveMethod · 0.80
onmoveMethod · 0.80
ignoreMethod · 0.80
onmoveMethod · 0.80
panMethod · 0.80
zoomMethod · 0.80
onmoveMethod · 0.80

Calls 2

lockedMethod · 0.95
isownerMethod · 0.95

Tested by

no test coverage detected