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

Method set_positions

lib/matplotlib/patches.py:4444–4458  ·  view source on GitHub ↗

Set the start and end positions of the connecting path. Parameters ---------- posA, posB : None, tuple (x, y) coordinates of arrow tail and arrow head respectively. If `None` use current value.

(self, posA, posB)

Source from the content-addressed store, hash-verified

4442 self._dpi_cor = 1.0
4443
4444 def set_positions(self, posA, posB):
4445 """
4446 Set the start and end positions of the connecting path.
4447
4448 Parameters
4449 ----------
4450 posA, posB : None, tuple
4451 (x, y) coordinates of arrow tail and arrow head respectively. If
4452 `None` use current value.
4453 """
4454 if posA is not None:
4455 self._posA_posB[0] = posA
4456 if posB is not None:
4457 self._posA_posB[1] = posB
4458 self.stale = True
4459
4460 def set_patchA(self, patchA):
4461 """

Callers 3

update_positionsMethod · 0.45
update_positionsMethod · 0.45

Calls

no outgoing calls

Tested by 1