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

Function test_empty_eventplot

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

Source from the content-addressed store, hash-verified

5564
5565
5566def test_empty_eventplot():
5567 fig, ax = plt.subplots(1, 1)
5568 ax.eventplot([[]], colors=[(0.0, 0.0, 0.0, 0.0)])
5569 plt.draw()
5570
5571
5572@pytest.mark.parametrize('data', [[[]], [[], [0, 1]], [[0, 1], []]])

Callers

nothing calls this directly

Calls 3

eventplotMethod · 0.80
subplotsMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…