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

Function test_quiver_copy

lib/matplotlib/tests/test_quiver.py:134–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132
133
134def test_quiver_copy():
135 fig, ax = plt.subplots()
136 uv = dict(u=np.array([1.1]), v=np.array([2.0]))
137 q0 = ax.quiver([1], [1], uv['u'], uv['v'])
138 uv['v'][0] = 0
139 assert q0.V[0] == 2.0
140
141
142@image_comparison(['quiver_key_pivot.png'], remove_text=True, style='mpl20')

Callers

nothing calls this directly

Calls 2

subplotsMethod · 0.45
quiverMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…