MCPcopy Index your code
hub / github.com/matplotlib/cheatsheets / int_arrow

Function int_arrow

scripts/adjustements.py:96–103  ·  view source on GitHub ↗
(p0, p1)

Source from the content-addressed store, hash-verified

94
95
96def int_arrow(p0, p1):
97 p0, p1 = np.asarray(p0), np.asarray(p1)
98 ax.arrow(*((p0+p1)/2), *((p1-p0)/2), zorder=20, linewidth=0,
99 length_includes_head=True, width=.4,
100 head_width=2, head_length=2, color="black")
101 ax.arrow(*((p0+p1)/2), *(-(p1-p0)/2), zorder=20, linewidth=0,
102 length_includes_head=True, width=.4,
103 head_width=2, head_length=2, color="black")
104
105
106x = 0

Callers 1

adjustements.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected