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

Function _assert_equal

lib/matplotlib/tests/test_axes.py:4982–4985  ·  view source on GitHub ↗
(stem_container, expected)

Source from the content-addressed store, hash-verified

4980def test_stem_args():
4981 """Test that stem() correctly identifies x and y values."""
4982 def _assert_equal(stem_container, expected):
4983 x, y = map(list, stem_container.markerline.get_data())
4984 assert x == expected[0]
4985 assert y == expected[1]
4986
4987 fig, ax = plt.subplots()
4988

Callers 2

test_stem_argsFunction · 0.85
test_stem_markerfmtFunction · 0.85

Calls 4

get_dataMethod · 0.45
get_colorMethod · 0.45
get_markerMethod · 0.45
get_linestyleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…