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

Function test_quiver_number_of_args

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

Source from the content-addressed store, hash-verified

50
51
52def test_quiver_number_of_args():
53 X = [1, 2]
54 with pytest.raises(
55 TypeError,
56 match='takes from 2 to 5 positional arguments but 1 were given'):
57 plt.quiver(X)
58 with pytest.raises(
59 TypeError,
60 match='takes from 2 to 5 positional arguments but 6 were given'):
61 plt.quiver(X, X, X, X, X, X)
62
63
64def test_quiver_arg_sizes():

Callers

nothing calls this directly

Calls 1

quiverMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…