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

Method set_pickradius

lib/matplotlib/axis.py:2154–2166  ·  view source on GitHub ↗

Set the depth of the axis used by the picker. Parameters ---------- pickradius : float The acceptance radius for containment tests. See also `.Axis.contains`.

(self, pickradius)

Source from the content-addressed store, hash-verified

2152 self.stale = True
2153
2154 def set_pickradius(self, pickradius):
2155 """
2156 Set the depth of the axis used by the picker.
2157
2158 Parameters
2159 ----------
2160 pickradius : float
2161 The acceptance radius for containment tests.
2162 See also `.Axis.contains`.
2163 """
2164 if not isinstance(pickradius, Real) or pickradius < 0:
2165 raise ValueError("pick radius should be a distance")
2166 self._pickradius = pickradius
2167
2168 pickradius = property(
2169 get_pickradius, set_pickradius, doc="The acceptance radius for "

Callers 1

test_pickingFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_pickingFunction · 0.36