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

Function test_eventplot_orientation

lib/matplotlib/tests/test_axes.py:5574–5579  ·  view source on GitHub ↗

Introduced when fixing issue #6412.

(data, orientation)

Source from the content-addressed store, hash-verified

5572@pytest.mark.parametrize('data', [[[]], [[], [0, 1]], [[0, 1], []]])
5573@pytest.mark.parametrize('orientation', [None, 'vertical', 'horizontal'])
5574def test_eventplot_orientation(data, orientation):
5575 """Introduced when fixing issue #6412."""
5576 opts = {} if orientation is None else {'orientation': orientation}
5577 fig, ax = plt.subplots(1, 1)
5578 ax.eventplot(data, **opts)
5579 plt.draw()
5580
5581
5582@check_figures_equal()

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…