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

Method set_pickradius

lib/matplotlib/collections.py:511–523  ·  view source on GitHub ↗

Set the pick radius used for containment tests. Parameters ---------- pickradius : float Pick radius, in points.

(self, pickradius)

Source from the content-addressed store, hash-verified

509 self.stale = False
510
511 def set_pickradius(self, pickradius):
512 """
513 Set the pick radius used for containment tests.
514
515 Parameters
516 ----------
517 pickradius : float
518 Pick radius, in points.
519 """
520 if not isinstance(pickradius, Real):
521 raise ValueError(
522 f"pickradius must be a real-valued number, not {pickradius!r}")
523 self._pickradius = pickradius
524
525 def get_pickradius(self):
526 return self._pickradius

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected