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

Function test_nargs_pcolorfast

lib/matplotlib/tests/test_axes.py:765–771  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

763
764
765def test_nargs_pcolorfast():
766 with pytest.raises(TypeError, match='2 were given'):
767 ax = plt.subplot()
768 # pcolorfast() takes 1 or 3 arguments,
769 # not passing any arguments fails at C = args[-1]
770 # before nargs_err is raised.
771 ax.pcolorfast([(0, 1), (0, 2)], [[1, 2, 3], [1, 2, 3]])
772
773
774@image_comparison(['offset_points'], remove_text=True, style='mpl20')

Callers

nothing calls this directly

Calls 1

pcolorfastMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…