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

Function test_quiver_setuvc_numbers

lib/matplotlib/tests/test_quiver.py:330–339  ·  view source on GitHub ↗

Check that it is possible to set all arrow UVC to the same numbers

()

Source from the content-addressed store, hash-verified

328
329
330def test_quiver_setuvc_numbers():
331 """Check that it is possible to set all arrow UVC to the same numbers"""
332
333 fig, ax = plt.subplots()
334
335 X, Y = np.meshgrid(np.arange(2), np.arange(2))
336 U = V = np.ones_like(X)
337
338 q = ax.quiver(X, Y, U, V)
339 q.set_UVC(0, 1)
340
341
342def draw_quiverkey_zorder_argument(fig, zorder=None):

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
quiverMethod · 0.45
set_UVCMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…